Questions about Android SDK
Answered
I have a Mac mini with High Sierra installed.
I'm interested in learning Android programming.
I downloaded & installed the Android Studio. I had difficulties installing it so I uninstalled it. I want to give it another try.
I opened IntelliJ & clicked on Android. It has support for C++ but not for Android. It stated that the SDK is not installed. Is there a sequence for installing the Android studio? Should I install the SDK first & then install studio? If I install the SDK, can I use IntelliJ instead of Android Studio? Does the SDK include the emulator?
Please sign in to leave a comment.
IntelliJ IDEA has no C++ support for NDK development, it's available only in Android Studio.
Android Studio already comes with SDK and the emulators and should be easier to setup. In IntelliJ IDEA you need to download SDK and emulators first.
IntelliJ IDEA has no C++ support for NDK development, it's available only in Android Studio.
I should have phrased my statement more clearly. Instead of stating "I opened IntelliJ & clicked on Android. It has support for C++ but not for Android." I should have stated "I click on New Project > Android. I see 'New Project Android Studio'. I see a checkbox next to 'Include C++ support' ".
At the bottom, I see:
Your Android SDK is missing, out of date, or is missing templates. Please ensure you are using SDK version 24.0.2 or later. You can configure your SDK via Configure | Project Defaults | Project structure | SDKs.
When I had Android Studio installed, I saw an option checkbox to include Kotlin support.
So, if I install the Android SDK, will I be able to use IntelliJ instead of Android Studio to create Android apps?
Yes, sure. After configuring Android SDK in IntelliJ IDEA you will be able to create Android apps, just like in Android Studio (with the exception of C++ support in the editor).
Please check https://www.jetbrains.com/help/idea/getting-started-with-android-development.html .
Well, I'm glad that one has a choice of using either IntelliJ IDEA or Android Studio to create Android apps.
Yesterday, I watched YouTube videos about creating Android apps. I suspected that I'd have to use additional source code in the Kotlin file for swiping & scrolling & tapping, but I didn't know that I also had to make changes to XML files! And so many Gradle files!
I don't like the verbosity of Java, but Android Kotlin is even more verbose. I do want to learn a Java programming language. I've spent hours on YouTube & Google learning about the pros & cons of the different Java programming languages. I've narrowed it down to Kotlin, Groovy, Scala & Jython. But, to be honest, Android Kotlin is not for me. There's too much to learn. I'd have to learn BOTH Kotlin & XML.
Thanks for answering my questions.