androidintellij-ideasdkandroid-sdk-toolsandroid-sdk-manager

Android sdk for Intellij IDEA


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?


Solution

  • 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.