问题:
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