IntelliJ IDEA - Android JDK doesn't work

前端 未结 14 1210
离开以前
离开以前 2021-02-05 11:13

I\'ve just installed IntelliJ IDEA 10.0.0.2 Community edition
I\'ve installed Android SDK ... (C:\\Program Files\\Android\\android-sdk-windows)

I want to make a ne

相关标签:
14条回答
  • 2021-02-05 11:51

    Click the + symbol in the left most pane in the Select android sdk window during the creation of the project and then select the android SDK (default= c/program files/android/android-sdk)

    0 讨论(0)
  • 2021-02-05 11:51

    In my case, I needed to add support for android, so, I searched for android in the plugins settings.

    0 讨论(0)
  • 2021-02-05 11:52

    I had a real hard time seeing how to do this on a mac, since you can't download the jdk from sun's site

    @Szabolcs Berecz @Yochai On a mac, you'll need to get the source as described here:

    or just jump to the download here:

    Then it stored in this location: 1.6.x /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/src.jar

    0 讨论(0)
  • 2021-02-05 11:52

    I've spent 30 minutes solving a foolish problem

    For IntelliJ & Android on Linux.

    If the "Android SDK" Menu comes up with a red 'No Android SDK' Click the browse button to the RIGHT of the drop down. - Its a different layout in Linux to Windows.

    0 讨论(0)
  • 2021-02-05 11:54

    In the JDK part you need to choose the JAVA JDK that was downloaded. (not the android)

    C:\Program Files\Java\jdk1.6.0_24\

    0 讨论(0)
  • 2021-02-05 11:55

    I've got the same problem with version 12 on linux, Android module does not show java sdk location and android sdk location selection fails because java sdk is not set. I've solved by making a java project, that lets me select java sdk and android sdk (strange right?), after making such a project I can make an android project because android sdk is now configured

    0 讨论(0)
提交回复
热议问题