IntelliJ IDEA - Android JDK doesn't work

前端 未结 14 1216
离开以前
离开以前 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:41

    To develop Android applications in IntelliJ IDEA you need to set both Java SDK (JSDK) and Android SDK:

    • Configuring Project SDK
    • Java SDK
    • Setting Android SDK/Platform

    You also need to run SDK Manager application and download Android platforms which you are going to use.

    Note that you can detach all the jars from the JSDK configuration in IDEA if you are going to use it only for Android, this will help with the code completion so that only classes available in Android will be suggested by the IDE.

    I also recommend to read the following tutorials:

    • Developing applications for Android in IntelliJ IDEA
    • Developing Android applications on the base of existing sources

    EDIT:

    Configuring project's link has been updated

提交回复
热议问题