

The emulator -avd command searches the avdĭirectory in the order of the values in $ANDROID_AVD_HOME, Override the defaults by setting the following environment variables. $HOME/.android/ and AVD data under $HOME/.android/avd/. STUDIO_GRADLE_JDK is not defined, the IDE uses the value set inīy default, the emulator stores configuration files under Launch the IDE, it first checks STUDIO_GRADLE_JDK. Sets the location of the JDK that Android Studio uses to start the Gradle daemon. It checks the STUDIO_JDK, JDK_HOME, and JAVA_HOME Sets the location of the JDK with which to run Android Studio. User installed plugins, and the maximum file size supported by the IDE. This file allows you to customize Android Studio IDE properties, such as the path to This file can also be accessed from within Android Studio. This file contains settings that affect the performance characteristics of the Java HotSpot Sets the location of the studio.vmoptions file. On start-up, Android Studio checks these variables The Android Studio configuration variables contain settings that customize the location ofĬonfiguration files and the JDK. See Update YourĪndroid Studio configuration environment variables Note: You can use Android Studio instead of sdkmanager To download packages for an operating system different from the current machine. Set this variable to windows, macosx, or linux when To override the user preferences location for those older tools setĪNDROID_SDK_HOME to the parent directory you would like the


Some older tools, such as Android Studio 4.3 and below, do not read Sets the path to the user preferences directory for tools that are part of the Android SDK. If you continue to use it, Android Studio and the Android Gradle plugin willĬheck that the old and new variables are consistent. The value does not typically change, and can be shared by multiple users on the same machine.ĪNDROID_SDK_ROOT, which also points to the SDK installation directory, Sets the path to the SDK installation directory. Environment variables Android SDK environment variables The following table describes commonly used environment variables for the Android SDK tools. Its default location of $USER_HOME or $HOME. When the SDK installation has been put in E:\Android\sdk\ instead of in The following example shows how to use an environment variable to launch an emulator This page describes the most commonly used environment variables. Specify things like where the SDK is installed and where user-specific data is stored. You can set environment variables for Android Studio and the command-line tools that
