[Android] Android 환경변수 종류 (Android 빌드 환경변수)
2025. 8. 19. 23:03
ANDROID_HOME
Installation directory of Android SDK package.
Example: C:\AndroidSDK or /usr/local/android-sdk/
ANDROID_USER_HOME
Location of SDK related data/user files.
Example: C:\Users\<USERNAME>\.android\ or ~/.android/
ANDROID_SDK_ROOT
Deprecated (in Android Studio), use ANDROID_HOME instead.
ANDROID_NDK_ROOT
Installation directory of Android NDK package. (WITHOUT ANY SPACE)
Example: C:\AndroidNDK or /usr/local/android-ndk/
ANDROID_SDK_HOME
Deprecated (in Android Studio 4.2), use ANDROID_PREFS_ROOT instead.
ANDROID_PREFS_ROOT
Deprecated (in Android Studio), use path to subdirectory .android via ANDROID_USER_HOME instead.
Example: C:\Users\<USERNAME>\ or ~/
ANDROID_EMULATOR_HOME
Location of emulator-specific data files.
Example: C:\Users\<USERNAME>\.android\ or ~/.android/
ANDROID_AVD_HOME
Location of AVD-specific data files.
Example: C:\Users\<USERNAME>\.android\avd\ or ~/.android/avd/
JDK_HOME and JAVA_HOME
Installation directory of JDK (aka Java SDK) package.
OUT_DIR
이 변수는 빌드 시 빌드 결과물이 저장될 폴더 이름을 지정하는 변수이다.
export OUT_DIR= 로 원하는 경로로 지정하고 빌드를 수행한다.
참고자료
https://stackoverflow.com/questions/23042638/how-do-i-set-android-sdk-home-environment-variable
How do I set ANDROID_SDK_HOME environment variable?
How do I set ANDROID_SDK_HOME environment variable?
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 Unable to get the Android SDK home directory. Make su...
stackoverflow.com
'Android' 카테고리의 다른 글
| (작성중) [Android] Android.mk와 AIDL 2 (0) | 2026.01.22 |
|---|---|
| [Android] VTS(Vendor Test Suite)의 개요와 쓰임 (0) | 2021.11.10 |
| [Android Studio] 에러 해결, Could not initialize plugin: interface org.mockito.plugins.MockMaker (0) | 2021.10.07 |
| [미완성][Android] Android Architecture, 안드로이드 구조 (0) | 2021.06.15 |
| [Android] Android Reference (5) | 2021.05.11 |
