我已经安装了Ruboto Gem并一直关注他们的wiki如何继续;但是每次运行ruboto setup
命令时我都会收到此提示:
Java runtime : Found
Java Compiler : Found
Apache ANT : Found
Android Package Installer: Found
Android Emulator : Found
Android SDK Command adb : Not found
Android SDK Command dx : Found
Platform SDK android-10 : Found
!!! Ruboto setup is NOT OK !!!
Java runtime : Found
Java Compiler : Found
Apache ANT : Found
Android Package Installer: Found
Android Emulator : Found
Android SDK Command adb : Not found
Android SDK Command dx : Found
Platform SDK android-10 : Found
!!! Ruboto setup is NOT OK !!!
Android tools not found.
Would you like to download and install it? (Y/n):
即使在完成下载和安装后,问题仍然存在。我之前遇到过与dx
类似的问题,我在PATH中解决了它;但是这个在其他地方没有解决方案。
谢谢!
答案 0 :(得分:0)
重新下载Android SDK,您会在以下位置找到该文件:
adt-bundle-linux-x86-20130522/sdk/build-tools/android-4.2.2/
$ sg552@youku:/sg552/adt-bundle-linux-x86-20130522/sdk$ ls build-tools/android-4.2.2/
$ aapt aidl dexdump dx lib llvm-rs-cc NOTICE.txt renderscript source.properties
然后,将其添加到您的路径:
# your ~/.bashrc file or ~/.bash_profile :
PATH=$PATH:$YOUR_ANDROID_HOME/build-tools/android-4.2.2/