0

安装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
4

1 回答 1

0

您在 Android SDK 管理器中安装的英特尔 HAXM 仅复制您机器上的英特尔 HAXM 可执行文件。您必须手动安装 Intel HAXM。

在里面寻找安装dmg$ANDROID_HOME/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM_[version].dmg

来源:https ://software.intel.com/en-us/android/articles/speeding-up-the-android-emulator-on-intel-architecture#_Toc358213269

于 2014-09-06T11:16:30.070 回答