반응형

 

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

 

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_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.

 

 

참고자료

https://i5i5.tistory.com/855

 

 

 

 

 

 

 

반응형