android studio安装后,因为公司网络原因,一直无法安装android sdk
后经过手机网络,安装android sdk成功如下,也可以手动下载后指定android sdk本地目录
https://dl.google.com/android/repository/source-35_r01.zip
https://dl.google.com/android/repository/platform-35_r02.zip
https://dl.google.com/android/repository/build-tools_r35_linux.zip
https://dl.google.com/android/repository/platform-tools_r35.0.2-linux.zip
Preparing "Install Sources for Android 35 (revision 1)".
Downloading https://dl.google.com/android/repository/source-35_r01.zip
"Install Sources for Android 35 (revision 1)" ready.
Installing Sources for Android 35 in /home/wang/Android/Sdk/sources/android-35
"Install Sources for Android 35 (revision 1)" complete.
"Install Sources for Android 35 (revision 1)" finished.
Preparing "Install Android SDK Platform 35 (revision 2)".
Downloading https://dl.google.com/android/repository/platform-35_r02.zip
"Install Android SDK Platform 35 (revision 2)" ready.
Installing Android SDK Platform 35 in /home/wang/Android/Sdk/platforms/android-35
"Install Android SDK Platform 35 (revision 2)" complete.
"Install Android SDK Platform 35 (revision 2)" finished.
Preparing "Install Android SDK Build-Tools 35 v.35.0.0".
Downloading https://dl.google.com/android/repository/build-tools_r35_linux.zip
"Install Android SDK Build-Tools 35 v.35.0.0" ready.
Installing Android SDK Build-Tools 35 in /home/wang/Android/Sdk/build-tools/35.0.0
"Install Android SDK Build-Tools 35 v.35.0.0" complete.
"Install Android SDK Build-Tools 35 v.35.0.0" finished.
Preparing "Install Android SDK Platform-Tools v.35.0.2".
Downloading https://dl.google.com/android/repository/platform-tools_r35.0.2-linux.zip
"Install Android SDK Platform-Tools v.35.0.2" ready.
Installing Android SDK Platform-Tools in /home/wang/Android/Sdk/platform-tools
"Install Android SDK Platform-Tools v.35.0.2" complete.
"Install Android SDK Platform-Tools v.35.0.2" finished.
Parsing /home/wang/Android/Sdk/build-tools/35.0.0/package.xml
Parsing /home/wang/Android/Sdk/emulator/package.xml
Parsing /home/wang/Android/Sdk/platform-tools/package.xml
Parsing /home/wang/Android/Sdk/platforms/android-35/package.xml
Parsing /home/wang/Android/Sdk/sources/android-35/package.xml
Android SDK is up to date.
安装完后sdk目录如下:
wang@wang-ThinkCentre-M930t-N000:~/Android/Sdk$ ls
build-tools emulator licenses platforms platform-tools sources system-images
platforms如下:
wang@wang-ThinkCentre-M930t-N000:~/Android/Sdk$ ls platforms/
android-34 android-35
wang@wang-ThinkCentre-M930t-N000:~/Android/Sdk$ ls platforms/android-34/
android.jar core-for-system-modules.jar optional skins uiautomator.jar
android-stubs-src.jar data package.xml source.properties
build.prop framework.aidl sdk.properties templates
platform-tools如下:
wang@wang-ThinkCentre-M930t-N000:~/Android/Sdk$ ls platform-tools/
adb fastboot lib64 make_f2fs_casefold mke2fs.conf package.xml sqlite3
etc1tool hprof-conv make_f2fs mke2fs NOTICE.txt source.properties
build-tools如下:
wang@wang-ThinkCentre-M930t-N000:~/Android/Sdk$ ls build-tools/34.0.0/
aapt core-lambda-stubs.jar lld-bin source.properties
aapt2 d8 llvm-rs-cc split-select
aarch64-linux-android-ld dexdump mipsel-linux-android-ld x86_64-linux-android-ld
aidl i686-linux-android-ld NOTICE.txt zipalign
apksigner lib package.xml
arm-linux-androideabi-ld lib64 renderscript
bcc_compat lld runtime.properties
sources如下,应该是各个接口文件