問題:
I want to setup the Android dev environment from command line, and encounter the following issue:我想從命令行設置Android開發環境,遇到以下問題:
wget http://dl.google.com/android/android-sdk_r22.0.5-linux.tgz
after extract the file, run解壓文件後,運行
tools/android update sdk --no-ui
However, it is too slow on running但是,運行速度太慢
Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
The result is that nothing in folder build-tools, and I want is aapt and apkbuilder, since I want to build apk from command line without ant.結果是文件夾 build-tools 中沒有任何內容,我想要的是 aapt 和 apkbuilder,因爲我想在沒有 ant 的情況下從命令行構建 apk。
解決方案:
參考一: https://en.stackoom.com/question/1DN80參考二: https://stackoom.com/question/1DN80