0

我已经安装了 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 中解决了它;但这一个在其他地方没有解决方案。

谢谢!

4

1 回答 1

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

然后,将其添加到您的 PATH:

# your ~/.bashrc file or ~/.bash_profile : 

PATH=$PATH:$YOUR_ANDROID_HOME/build-tools/android-4.2.2/
于 2014-07-06T01:57:54.147 回答