Android sdk for Intellij IDEA
Solution 1
Same problem I have with IDEA 2017.1.1. I installed tools_r25.2.3-windows.zip and managed to install them. I've done:
- unzipped it to C:\Android\android_sdk\
- renamed "tools" folder to "tools-sdk"
- executed C:\Android\android_sdk\tools_inst\bin>sdkmanager --update
-
prepared file my_file with lines:
build-tools;24.0.0
platforms;android-24
tools
emulator
- Executed: C:\Android\android_sdk\tools_inst\bin>sdkmanager --package_file=my_file
Then gave IntelliJ IDEA folder C:\Android\android_sdk as Android SDK Home Folder.
Then IDEA asks to install something additional. The test android project compiles and runs on emulation (AVD Manager works). I had to install 22 Platform and Build Tools though because android-24 virtual device asked for a password.
The only problem is I still have no SDK Manager with GUI interface.
Solution 2
You can install whichever android SDK or API from Intellij. I have the 2018.1 version but I hope this works in earlier versions too. You can find the options to install the SDKs here:
Daniel
Updated on June 04, 2022Comments
-
Daniel almost 2 years
I'm trying to setup IntelliJ IDEA to develop android applications and I faced an issue with android sdk. As far as I know, I need to download the sdk separately. But I all I managed to find was Android command line tools which is obviously not something I need. So my question how can I get android sdk for IntelliJ IDEA?