在installed ruboto gem和正确的依赖项(通过Gemfile)之后,我输入了:
$ ruboto setup
这给我一个错误并正确下载;但在下载并安装了错误包之后,该命令返回相同的包错误:
Java runtime : Found
Java Compiler : Found
Apache ANT : Found
Android Package Installer: Found
Android Emulator : Found
Intel HAXM : Not found
Android SDK Command adb : Found
Android SDK Command dx : Found
Platform SDK android-15 : Found
!!! Ruboto setup is NOT OK !!!
Android tools not found.
Would you like to download and install them? (Y/n): Y
Refresh Sources:
...
...
...
Installing Archives:
Preparing to install archives
Downloading Android SDK Tools, revision 22.6.3
Installing Android SDK Tools, revision 22.6.3
Installed Android SDK Tools, revision 22.6.399%)
Downloading Android SDK Platform-tools, revision 19.0.1
Installing Android SDK Platform-tools, revision 19.0.1
Stopping ADB server succeeded.
Installed Android SDK Platform-tools, revision 19.0.199%)
Downloading Android SDK Build-tools, revision 19.0.3
Installing Android SDK Build-tools, revision 19.0.3
Installed Android SDK Build-tools, revision 19.0.399%)
Downloading Intel x86 Emulator Accelerator (HAXM installer), revision 4
Installing Intel x86 Emulator Accelerator (HAXM installer), revision 4
Installed Intel x86 Emulator Accelerator (HAXM installer), revision 499%)
Stopping ADB server succeeded.
Starting ADB server succeeded.
null Done. 4 packages installed.
Android SDK Command dx : Found
Android SDK Command adb : Found
Android Emulator : Found
Intel HAXM : Not found
Java runtime : Found
Java Compiler : Found
Apache ANT : Found
Android Package Installer: Found
Android Emulator : Found
Intel HAXM : Not found
Android SDK Command adb : Found
Android SDK Command dx : Found
Platform SDK android-15 : Found
!!! Ruboto setup is NOT OK !!!
为什么会发生这样的事情? HAXM已安装?也许我需要在〜/ .bash_profile中设置PATH? 顺便说一句,上面是我的.bash_profile
的一部分 # BEGIN Android
export A_HOME=$HOME/Development/adt-bundle-mac-x86_64/sdk/
export A_TOOLS=$HOME/Development/tools
export AP_TOOLS=$A_TOOLS:$HOME/Development/platform-tools
export AB_TOOLS=$AP_TOOLS:$HOME/Development/build-tools
# END Android
# BEGIN Ruboto setup
source ~/.rubotorc
# END Ruboto setup
答案 0 :(得分:0)
您在Android SDK管理器中安装的Intel HAXM仅复制计算机上的Intel HAXM可执行文件。您必须手动安装Intel HAXM。
在$ANDROID_HOME/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM_[version].dmg