ubuntu12.04 下载安装Android sdk22.2.1
安装android sdk22.2.1及所需api工具等https://wiki.videolan.org/AndroidCompile/root@Ubuntu32:/home/zhangbin/android/android-sdk_r22.2.1-linux/android-sdk-linux/tools# ./android update sdk -u -t platfo
安装android sdk22.2.1及所需api工具等
https://wiki.videolan.org/AndroidCompile/
root@Ubuntu32:/home/zhangbin/android/android-sdk_r22.2.1-linux/android-sdk-linux/tools# ./android update sdk -u -t platform,platform-tool,extra
Error: Missing platform-tools
Error: Missing platform-tools
Refresh Sources:
Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
^Croot@Ubuntu32:/home/zhangbin/android/android-sdk_r22.2.1-linux/android-sdk-lin/tools#
root@Ubuntu32:/home/zhangbin/android/android-sdk_r22.2.1-linux/android-sdk-linux/tools#
root@Ubuntu32:/home/zhangbin/android/android-sdk_r22.2.1-linux/android-sdk-linux/tools# ls
adb_has_moved.txt emulator64-arm hprof-conv proguard
android emulator64-mips jobb source.properties
ant emulator64-x86 lib sqlite3
apps emulator-arm lint support
ddms emulator-mips mksdcard templates
dmtracedump emulator-x86 monitor traceview
draw9patch etc1tool monkeyrunner uiautomatorviewer
emulator hierarchyviewer NOTICE.txt zipalign
root@Ubuntu32:/home/zhangbin/android/android-sdk_r22.2.1-linux/android-sdk-linux/tools# ./android
Error: Missing platform-tools
^Cg_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
root@Ubuntu32:/home/zhangbin/android/android-sdk_r22.2.1-linux/android-sdk-linux/tools#
root@Ubuntu32:/home/zhangbin/android/android-sdk_r22.2.1-linux/android-sdk-linux/tools#
root@Ubuntu32:/home/zhangbin/android/android-sdk_r22.2.1-linux/android-sdk-linux/tools#
root@Ubuntu32:/home/zhangbin/android/android-sdk_r22.2.1-linux/android-sdk-linux/tools#
root@Ubuntu32:/home/zhangbin/android/android-sdk_r22.2.1-linux/android-sdk-linux/tools# ./android
Error: Missing platform-tools
这样force之后好像不奏效吧
加入了这个之后,立马就有效果了
#Google主页
203.208.46.146 www.google.com
#这行是为了方便打开Android开发官网 现在好像不翻墙也可以打开
74.125.113.121 developer.android.com
#更新的内容从以下地址下载
203.208.46.146 dl.google.com
#203.208.46.146 dl-ssl.google.com
74.125.237.1 dl-ssl.google.com
看下都下载了啥
更多推荐
所有评论(0)