(작성중) [Android] AOSP 리눅스(우분투)환경에서 다운로드 받기
2023. 3. 22. 00:39
Step1. repo 설치
mkdir -p ~/.bin
PATH="${HOME}/.bin:${PATH}"
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
chmod a+rx ~/.bin/repo
Step 2. python 설치
apt-get install python
Step 3. git 설치
apt-get install git
git config --global user.name "Honghong"
git config --global user.email "xxxx123@naver.com"
Step 4. repo 다운로드
repo init -u https://android.googlesource.com/platform/manifest -b android-12.1.0_r27
repo init -u https://android.googlesource.com/platform/manifest
repo sync -j8
android - How do I set ANDROID_SDK_HOME environment variable? - Stack Overflow
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.
참고자료
'Android > Android' 카테고리의 다른 글
[Android] seapp_contexts 예제 형식 (0) | 2024.03.06 |
---|---|
[Android] Android.bp 파일 이해하기 (문법 이해) (0) | 2023.03.30 |
(작성중) [Android] Linux환경에서 cmd-line tools 설치 및 SDK manager 이용하기 (0) | 2023.03.20 |
[Android] Android 앱 이름 바꾸기 (0) | 2023.02.04 |
[Android] Android 로그캣(Logcat) 보는 방법, Android Studio 상에서. (0) | 2022.09.22 |