最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Using JavaScript in Android Studio - Stack Overflow

programmeradmin4浏览0评论

I would like to ask a one question; I'm starting with learning of JS for web-development purposes and I heard that it can be used in Android Studio as well (with html, css). So What is the difference in Android Studio between using JS and Java? Is it harder to write?

I would like to ask a one question; I'm starting with learning of JS for web-development purposes and I heard that it can be used in Android Studio as well (with html, css). So What is the difference in Android Studio between using JS and Java? Is it harder to write?

Share Improve this question asked Jul 9, 2019 at 0:56 user11040244user11040244 2
  • 1 You mean to build Android Application, right? Android Studio is just an development environment where you use Native (Java or Kotlin) languages to build android application. – musooff Commented Jul 9, 2019 at 1:16
  • 1 You can't use JavaScript in Android Studio but you can make JavaScript based Android Applications. Not in Android Studio, but though some other development environment – musooff Commented Jul 9, 2019 at 1:17
Add a ment  | 

2 Answers 2

Reset to default 2

I guess there are some Android Studio plugins you could install to have your JS code highlighted, but I'm not sure that's a good idea to use it to learn web development. Android Studio has been created for developing Android applications and it focuses on optimizing the process of development using Java or Kotlin (and I believe from recently also Dart). Support of any other programming language is just an additional feature.

If you are used to AS UI and functionalities I would remend checking out WebStorm. It's very similar to IntelliJ, the IDE that AS is based on. Unfortunately it's paid, but there is a 30-day trial and if you happen to be a student, you can get a full version for free (of course for educational purposes only)

However if you're looking for a fully free tool, I heard that VisualStudio Code is a great tool as well.

You can build your UI/UX in Java/Kotlin in Android studio then just connect it to your website whether its a dating app, selling app like offer up, social media App or other WebApps and make it a hybrid app

发布评论

评论列表(0)

  1. 暂无评论