Android Emulator doesn't start in MacOS 10.10 - android

I'm trying to start an AVD in Android Studio, but it just open a "Splash Screen" (where is written Android), and after, there's no progress.
I searched about it, and I found some discussions about Intel's HAXM (Android Emulator with HAXM freezes on Mac OS Yosemite), I proceeded the installation, but didn't work.
Is there any another config that I should check it out?
That's my AVD settings: API 23 Nexus 4 1GB (RAM) 64MB (VM heap) Graphics: Hardware - GLES 2.0 Multi-Core CPU is checked
Intel x86 System Image (to Android 6.0) is installed too
I'm using a MacOS 10.10 (Yosemite) with 4GB (RAM)

Do you have Docker for Mac installed by any chance? I was just facing the exact same issue and stopping Docker fixed the problem...

As I'm not allowed to comment on the above answer, just to add my own experience. Both Docker and minikube - which will admittedly run it's kubernetes containers using docker - need to be stopped for the emulator to work.

Related

Problem with Android emulator no longer starting on mac os high sierrra 10.13.6

I have a late 2011 Mac with a 2.5 GHz Intel Core i5, AMD Radeon HD 6750M 512 MB and 12 GB of ram.I've had no problems with starting the android emulator from Android Studio in the past. However, updating to Android Studio 4.1.1 the emulator no longer launches. It looks like it's going to launch however it crashes and I get an error report that looks like this:
Android Emulator Error
I have no clue what to do. I've uninstalled and reinstalled intel haxm, started and stopped it, tried to launch the android emulator with the terminal, uninstall and reinstall the emulator, wiped my hard drive and reinstall mac os high sierra (latest version for my computer) and still nothing. Is it just not compatible with my computer anymore?
Android emulator 29.0.6 (May 1, 2019) is probably the start of problems...
https://developer.android.com/studio/releases/emulator#29.0.6-vulkan-macos
macOS support is still experimental, but the emulator already includes the Swiftshader, MoltenVK, and libportability (gfx-rs) APIs.
It's not easy to install old versions of the emulator, but I can run the current emulator (30.0.26) on my MacBook Pro "Early 2011" if I request either swiftshader or libportability. If I request moltenvk, it crashes (same crash if I don't select one - looks like the crash you posted).
# crash
emulator -avd AVD
ANDROID_EMU_VK_ICD=moltenvk emulator -avd AVD
# works
ANDROID_EMU_VK_ICD=swiftshader emulator -avd AVD
ANDROID_EMU_VK_ICD=portability emulator -avd AVD
It looks like swiftshader is entirely CPU-based while libportability may be able to take advantage of 3D hardware?
MoltenVK requires Metal, which I do not have (why I can't upgrade to 10.14). It seems your system also lacks Metal.

'Emulator can not be opened because of a problem' AVD not working in Android Studio on Mac Yosemite

I have created a few virtual devices in Android Studio, but I'm not able to run any. Here's my error msg:
Here's some things I've tried:
Creating a NEXUS 4 AVD (to be able to choose 'Software-GLES 2.0' from 'Emulated performance graphics' in the AVD manager.)
Uninstall, then reinstall the Intel x86 HAXM installer.
I will be upgrading my mid-2012 MacBook Pro's OS to Catalina soon, but for now I have to run Yosemite which is supposed to be supported by Android Studio 3.6.1.
Thanks for any help!
I restarted Android Studio and create a new device in AVD MANAGER then I have increased the RAM size of emulator and it works nicely.
An OS upgrade to Catalina did the trick, though the devices are quite slow to load. I managed to run a NEXUS 4 AVD (left it on 'Auto' for the 'Emulated performance graphics' option in the AVD manager.)

What are the system requirements of ADT?

Please let me know the recommend requirement to run the eclipse and Android emulator simantaniously?
I've a laptop powered by Intel i3 processor 1.7 GHz clock speed, 4 GB RAM and windows 10, Bitdefender antivirus installed but I'm not able to work on these tools smoothly. But on desktop powered by 2.8GHz dual core 3GB ram it works smoothly.
The Android emulator is only showing Android logo at very slowly and it doesn't starts up for about 10 minutes on idle.
Please list down all the recommended requirement which are required to run eclipse and Android emulator simantaniously and smoothly on laptop.
I suggest switching to Android Studio. Support for ADT has ended. Moreover, make sure that you have updated Android SDK. There were improvements in emulators and system images in the last years, which made them faster. You can also switch to Linux (e.g. Ubuntu) because then you can use hardware acceleration for emulators. I'm not sure if it's working on MS Windows. If this won't help, you can try Genymotion.
Do you use Intel HAXM https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager and x86 image in AVD to improve the performance?
In any case, imho to run smootly AVD on a notebook you should have an i7 ULV 2c/4t (i7 4500U or better) and 8gb of RAM.
For development purpose do not use eclipse now, use Android Studio because Google has stopped there support to eclipse. In android studio you can use Genymotion it is faster then eclipse's android emulator.
And about your question the ADT emulator is very slow you have to wait a log time to its get started.Your laptop's configuration is enough. you can use Bluestack http://www.bluestacks.com/ or simply connect your android device via usb and run it on directoly using ADB.

Android emulator hates me

Sorry for this title but I'm just so mad because not any of the emulators seem to be working for me. Here are the reasons:
Built-in Android Emulator - too slow, it won't even deploy the application, stuck at Starting emulator ..., mostly gets the error Emulator cannot be started with VS (unknown provider)
Genymotion - i thought this is my hope but the virtualbox for some reason gives me Blue Screen of Death hence not being able to use this really good, best recommended emulator
BSOD Technical Information: STOP: 0x0000003B (0x00000000c0000005, 0xFFFFF880010C9710, 0xFFFFF8800DFB8690, 0000000000000000)
XAP or Xamarin Android Player - uses VirtualBox as well, won't let me run the emulator, a dialog box appears saying Failed to start the virtual machine. This indicates you have just installed virtualbox and need to reboot your computer. Rebooted/restarted the computer a thousand times, same error.
This is too much pain for me as I'm still a beginner in Android Development but seems like it hates me so much.
Processor: Intel(R) Core(TM) i5-5300U CPU # 2.30GHz 2.30 GHz
RAM: 8.00 GB
System: Windows 7 64 bit
Btw, I'm working my Android app in Xamarin Visual Studio 2015.
Let me know if I missed any specific details.
Install Intel hardware accelerator manager (HAXM).
It can be downloaded using the android sdk manager. Once downloaded you have to run the installer manually. The installer is located in you android sdk folder, in /extra/Intel subfolder.
After it is installed, any android simulator using an x86 image will run full speed.
Also make sure HyperV is deactivated, and that virtualization is enable in the machine's bios.
Well, first it will be better to check out if all Android SDK packages were properly installed. To do that locate on your computer a software called "Android SDK Manager" and run it. It will shows the status of several different packages.
Check if you already have installed:
1) Android SDK Tools 24.4.1 and 24
2) Android N (API 21)
3) Intel x86 Emulator Accelerator (HAXM installer)
If you don't have installed, then do it selecting them and clicking on "install packages" button.
Restart Visual Studio and try to run a simple/demo app.

android emulator forever launching

i want to set up an android emulator, i downloaded android 4.4 (kitkat), tools, and all the extra's
the emulator is loading forever, its already loading for 2 hours, the android startup boot logo is not laggy, so the emulator is not slow.
I rebooted multiple times, and tried different devices
my emulator:
device: 10.1" WGXA (tablet) (1280 x 800: mdpi)
Target: android 4.4 - API level 19
CPU: ARM (armeabi-v7a) <--- cant change this
Memory Options: RAM:768 VM Heap: 32
Internal storage: 4096
Emulation Options: use host GPU
Computer specs:
4.2GHz 8-core cpu
4GB ram
and lot more
if i look in task manager it is using 15%cpu, 470MB RAM and 0MB disk speed
when you're using the Windows OS, you have to set the RAM to 512Mb in order to get the AVD to run properly.
Hope this helps as 2 hours is an awful long time for the emulator to load.
Had the same problem, try starting the AVD on its own and wipe user data before trying your app.
you are running these settings
10.1" WGXA (tablet) (1280 x 800: mdpi)
CPU: ARM (armeabi-v7a)
use host GPU
you must have a SUPER COMPUTER.... try a lower resulion start with 800x400,
if you have an INTEL pc,
download the "INTEL" engine from the SDK-MANAGER.API19
then use "use the GPU" setting and choose the "engine: intel" setting when creating an emulator
if you have a non-intel, then im sorry, stick with 800x400 resolution
Open android sdk manager
Extras-> install Android Support library
I had a problem on Windows 8 64-bit, with fresh installation of Eclipse and Android SDK - Virtual device was starting "forever".
I found this thread http://gotoanswer.stanford.edu/?q=android+emulator+forever+launching and link to
Can having spaces in the android sdk path cause problems in eclipse?
Solution: I moved Android SDK from
C:\Program Files (x86)\Android\android-sdk
to
c:\android-sdk
Changed location in Eclipse, and this fixed a problem for me. Now AVD launches normally. I have not found any other comments on the reason or explanation.
I hope it will help someone else.

Categories

Resources