Intel HAXM / Android Studio in OS X 10.11 / El Capitan - android

I recently tried to set up a new instance of Android Studio on OS X 10.11 (did not have it set up before upgrading) and have been getting the following issue:
Following that, I tried to resolve the issue by installing HAXM via ADT or even intel's site at: https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macosx
However, neither the regular HAXM installer or the hot fix version are compatible with OS X 10.11, as the installer insists it's not compatible with this version of OS X.
The question now is whether or not anyone else has succeeded in installing HAXM on 10.11 or if it's an issue that will not be resolved until either Android Studio or a the HAXM installer is updated?
Thanks in advance!
Edit: Proposed solution does not work as I cannot run the HAXM installer

Please read this post: How to fix: “HAX is not working and emulator runs in emulation mode”
brew install caskroom/cask/brew-cask && brew update
brew cask install intel-haxm
Note: I have experience only with Maverick and Yosemite.

Related

Unable to install Intel HAXM on macOS Big Sur

Just upgraded to Android Studio Bumblbee (2021.1.1 Patch 3) on macOS Big Sur, MacBook Pro (Retina, 15-inch, Mid 2015). Android emulator gone, prompted to install -
Install fails:
Android SDK is up to date.
Unable to install Intel® HAXM
HAXM can only be installed on Windows or Mac.
Please file a bug against Android Studio.
Done
What?
Have you tried this How to Fix Intel HAXM Android Studio Installation Error on MacOS?
You should try to install the newest version from github --> https://github.com/intel/haxm/releases

Cannot start Android Emulator - Library not loaded

I updated the Android Emulator in Android Studio. After the update i always get "The emulator process was killed" when i try to start an AVD.
I tried to start it from command line and get following error.
emulator: Android emulator version 30.5.3.0 (build_id 7196367) (CL:N/A)
dyld: Library not loaded: /System/Library/Frameworks/IOUSBHost.framework/Versions/A/IOUSBHost
Referenced from: /Users/NaoKreuzeder/Library/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-x86_64
Reason: image not found
Abort trap: 6
I searched for file "IOUSBHost.framework" on my mac. But could not find it.
How to solve this? Can someone point me in the right direction to find a solution?
I do not have a solution to provide, but I can confirm that the problem appears in the following configuration:
macos High Sierra (10.13.6),
AndroidStudio 4.1.3,
Android Emulator 30.5.3,
HAXM 7.6.5
I can also confirm that in newer version of macsos like Big Sure (11.2.3) with the same versions of development tools everything works fine, because the IOUSBHost.framework exists.
From Apple developer website https://developer.apple.com/documentation/iousbhost/iousbhostdevice we can see that the framework IOUSBHost is available from version macOS 10.15 and above.
My Mac is running Mojave and I ran into this problem after upgrading my Android Emulator version to v30.5.3 today. I downgraded my emulator version from v30.5.3 to v30.0.12 and that resolved the issue.
After i updated MacOS to Catalina (10.15.7) everything works fine now.
Looks like, newest version of Android Studio Emulator don´t work with older MacOS Versions.

HAXM device is not found in Windows 7

I am trying to develop a mobile application using Android Studio but I am always getting a pop message with below message.
Intel HAXM is required to run this AVD.
HAXM device is not found.
Enable VT-x in your BIOS security settings, ensure that HAXM is installed properly. Try disabling 3rd party security software if the problem still occurs.
Things I have tried:
Installed the HAXM installer on SDK Manager
Went to Extras -> Intel -> Hardware_Accelerated_Execution_Manager and run the file named "intelhaxm-android.exe". But getting error message as "Failed to configure driver: unknown error. Failed to open driver."
I am using:
Android Studio 3.5 on Windows 7.
Could you kindly let me know that Windows 7 supports Android application development using Android Studio?
Could you kindly let me how this issue can be addressed?
For me, the problem was exactly in the HAXM version (Currently 7.5.4). I rolled back to version 7.5.1 and it worked.
Did the following (For Windows):
Found the HAXM installer (Tools -> SDK Manager, Follow the Android SDK Location\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm-android.exe), using it deleted HAXM.
I downloaded HAXM from an older version (7.5.1) from https://github.com/intel/haxm/releases
Installed
Restarted Android Studio and it worked
To solve this problem, download and install this update https://www.microsoft.com/en-us/download/details.aspx?id=46148 from Microsoft and then restart your computer.
This solved it for me on windows7 64 bits and android studio 3.5.3
I hope it will help you as well.
For me this problem was solved by disabling Hyper-V on Windows 10.
The below are the steps to disable Hyper-V:
In "Control Panel", select "Programs and Features".
Select "Turn Windows features on or off".
Expand "Hyper-V", expand "Hyper-V Platform", and then clear the "Hyper-V Hypervisor" check box.
For me, I uninstall 7.6.5 from SDK manager and download 7.6.6 from https://github.com/intel/haxm/releases, install it as Administrator, then reboot. It works.

Android Testing: Appium not working

I have installed Appium for Windows (Appium version 1_4_16_1). But when I double click on it to start, I get an error:
Appium Stopped Working, windows is checking a solution to the problem.
My system specifications are: Windows 8.1, 64 bit OS, 4GB RAM. I have implemented these steps, please let me know if I am missing something.
Installed JDK 1.8 and Android SDK 2.0.
Set up the environment variables.
Installed node js.
Installed Appium version 1_4_16_1.
I also faced the same issue with (Appium version 1_4_16_1), after a lot of troubleshooting found that i am facing this issue only in this particular version of Appium. Try uninstalling this version and Install Appium Version 1_4_13_1. It works fine.

Error while starting emulator

I am running an android application on emulator. It was working fine till yesterday and today I updated android studio. I am getting following error.
How to resolve this?
emulator: WARNING: Increasing RAM size to 1GB emulator:
ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAXM must be updated (version 1.1.1 < 6.0.1).
I had to uninstall version 1.1.1 by going to:
C:\Users\userid\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager>
then type in silent_install.bat -v to verify the current version.
then silent_install.bat -u to uninstall
then silent_install.bat to install version 6.0.1 in my case.
Go To Your Android SDK ----> Run SDK Manager as Admin.
GO down and check Extras---> Update Intel Emulator Accelator (HAXM installer).
Then Restart Android Studio and Run Your AVD.
I had the same issue, apparently, i had installed HAXM manually directly from Intel. And I guess it's conflicting with that of the Android SDK.
So I downloaded and installed the updated version from Intel at HAXM download page. This solved my HAXM [conflict] problem
At first you have to uninstall HAXM from:
Control panel > Add/remove program
After that go to here and download HAXM and install it manually.
This worked for me .
If the SDK manager thinks you have the latest version, simply go to the SDK folder and run the silent_install.bat file.
Mine was here:
C:\Users\userid\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager\silent_install.bat
It will start working immediately, no need to restart Android Studio. It's probably because the SDK manager had insufficient permissions.
When I tried to install version 6.0.3 after I downloaded the update, intelhaxm-android.exe showed a windowed message for 1/10sec (i.e. I could not read it, since I don't know how to stop time) and did nothing after that. I had to locate and run 'setup.exe' among the files extracted by intelhaxm-android.exe. This time there was a prompt saying "Intel Hardware Accelarated Manager version 1.1.1 is already installed. Do you want to install version 6.0.3?" I replied 'Yes', an installation Wizard was opened and that was it. HAXM 6.0.3 was finally installed and the emulator run again.
(Note: You might have to locate the exact 'setup.exe' file (there are four od them) that was run in the installation. You can locate it towards the end of the log file created by intelhaxm-android.exe. The message is something like that: "{temp folder}\Intel\HAXM\6.0.3\2016-09-13_14-35-22\setup.exe was launched".)

Categories

Resources