How do I set ANDROID_SDK_HOME environment variable?

前端 未结 10 1716
我在风中等你
我在风中等你 2020-11-27 04:48

I\'m working with Eclipse on Windows 7, x64. I\'m getting an error when running ADT bundle of android development:

Error: Error parsing the AVDs

10条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-27 04:57

    ANDROID_HOME

    Deprecated (in Android Studio), use ANDROID_SDK_ROOT instead.

    ANDROID_SDK_ROOT

    Installation directory of Android SDK package.

    Example: C:\AndroidSDK or /usr/local/android-sdk/

    ANDROID_NDK_ROOT

    Installation directory of Android NDK package. (WITHOUT ANY SPACE)

    Example: C:\AndroidNDK or /usr/local/android-ndk/

    ANDROID_SDK_HOME

    Location of SDK related data/user files.

    Example: C:\Users\\.android\ or ~/.android/

    ANDROID_EMULATOR_HOME

    Location of emulator-specific data files.

    Example: C:\Users\\.android\ or ~/.android/

    ANDROID_AVD_HOME

    Location of AVD-specific data files.

    Example: C:\Users\\.android\avd\ or ~/.android/avd/

    JDK_HOME and JAVA_HOME

    Installation directory of JDK (aka Java SDK) package.

    Note: This is used to run Android Studio(and other Java-based applications). Actually when you run Android Studio, it checks for JDK_HOME then JAVA_HOME environment variables to use.

提交回复
热议问题