리눅스 android sdk 설치 방법(2017-08-14)
안드로이드 sdk 설치 방법
1. sdk tar 파일 다운로드 후 압축해제
2. cd ANDROID_SDK_HOME/tools
3. ./android android update sdk -u
sdk 에 필요한 package 업데이트
------------------------------------------
버전업 방법
1. cd ANDROID_SDK_HOME/tools
2. ./android list sdk -u
example)
Packages available for installation or update: 11
1- Android SDK Platform-tools, revision 24
2- Android SDK Build-tools, revision 24
3- Documentation for Android SDK, API 23, revision 1
4- SDK Platform Android N, API 24, revision 1
5- GPU Debugging tools, revision 3.1
6- GPU Debugging tools, revision 1.0.3
7- Android Support Repository, revision 33
8- Android Auto Desktop Head Unit emulator, revision 1.1
9- Google Play services, revision 30
10- Google Play APK Expansion library, revision 1
11- Google Play Licensing Library, revision 1
Now you can install packages, filtering (-t) by number index to install only those:
3. ./android update sdk -u -t 1,2
요렇게 업데이트 진행