简体   繁体   English

MacBookPro 13“未通过Ruboto为Android模拟器安装Intel HAXM加速器

[英]MacBookPro 13" not install Intel HAXM accelerator for android emulators via ruboto

After installed ruboto gem and properly dependencies (via Gemfile), i typed: 安装 ruboto gem和正确的依赖项(通过Gemfile)后,我输入:

$ ruboto setup

Which returns to me a error and properly download; 哪个返回错误并正确下载; but after download and installed the error package, the command returns same package error: 但是下载并安装了错误软件包后,该命令将返回相同的软件包错误:

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 !!!

Why such thing happens? 为什么会这样呢? HAXM already installed? HAXM已经安装? maybe i need setup PATH in ~/.bash_profile? 也许我需要在〜/ .bash_profile中设置PATH? By the way, above is part of my .bash_profile 顺便说一下,以上是我的.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

The Intel HAXM you have installed in the Android SDK manager only copies the Intel HAXM executable on your machine. 您在Android SDK管理器中安装的Intel HAXM仅在您的计算机上复制Intel HAXM可执行文件。 You have to install Intel HAXM manually. 您必须手动安装Intel HAXM。

Look for the installation dmg in $ANDROID_HOME/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM_[version].dmg $ANDROID_HOME/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM_[version].dmg查找安装dmg。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM