Android sdk for Intellij IDEA

16,458

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:

  1. unzipped it to C:\Android\android_sdk\
  2. renamed "tools" folder to "tools-sdk"
  3. executed C:\Android\android_sdk\tools_inst\bin>sdkmanager --update
  4. prepared file my_file with lines:

    build-tools;24.0.0

    platforms;android-24

    tools

    emulator

  5. 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:enter image description here

Share:
16,458
Daniel
Author by

Daniel

Updated on June 04, 2022

Comments

  • Daniel
    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?