Android Studio 2.2 blank AVD & VCPU Shutdown request - android

I am using Android Studio 2.2 and when I try to do a trial run of hello world program, I am getting AVD with blank screen. Also In-between that the VCPU shutdown request coming in the log.I am not getting any android welcome screen after a long time (More Than 30 minutes). There is no issue with RAM performance, I already have 16gb. All the components are installed correctly from SDK. Can you help me to solve this issue? Please Find the Image below for Blank AVD AS2.2
Error Log:
C:\Users\hp\AppData\Local\Android\Sdk\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_5_API_24
Hax is enabled
Hax ram_size 0x40000000
HAX is working and emulator runs in fast virt mode.
emulator: Listening for console connections on port: 5554
emulator: Serial number of this emulator (for ADB): emulator-5554
emulator: emulator window was out of view and was recentered
VCPU shutdown request
EAX=00748cea EBX=3ffadb60 ECX=00000000 EDX=00000000
VCPU shutdown request
UPDATE AFTER CHECKING WITH HAXM 6.0.5
Adding: Intel HAXM 6.0.5 not compatible with windows screenshot:
Intel HAXM 6.0.5 not compatible with windows screenshot

Please use 6.0.5 HAXM it solved for me. I have i7 and similar issues with 6.0.4

I just wanted to share that I am experiencing the same problem as well with my new Windows 10 computer. How do you add the switch -accel off -verbose to the x86/x64 image? Running an ARM image is extremely slow.

Dealing with the same issue. Something to do with haxm on 7th gen processors as the arm image works.
UPDATE: Confirmed to be a HAXM issue on Kaby Lake, nothing we can do until we get an HAXM update from Intel. Best workaround at this stage is to use the physical device or create a Linux partition. I haven't tested genymotion on a 7th gen processor...can anybody confirm if that works?

Related

Emulator closes itself with 4 GB of RAM

I have an emulator on Android Studio that closes itself changing the RAM setting to 4GB, with 3GB works well.
This is the config I have right now:
If I set the RAM to 4 GB the emulator closes itself after being opened.
Here my system with the emualtor running wiht 3GB RAM:
Launching the emulator using the terminal I get this error:
HAX is working and emulator runs in fast virt mode. Failed to register
RAM block: va=0x7fff0000, size=0x100000000, method=legacy VCPU
shutdown request emulator: WARNING: Not saving state: emulator hasn't
finished booting. VCPU shutdown request
Any idea about how I can solve it?
The problem I had is that
C:\YOUR_android_SDK_folder\extras\intel
was emphty, in others words Haxm was not installed.
If you have the same problem you have to go to:
SDK manager -> SDK tools and check Intel Emulator accelerator

Facing issue while launching Emulator in Android studio

I have installed Android studio on my system (Windows 10/64 bit).
I am getting an issue when I launch the emulator.
C:\Users\Deepak\AppData\Local\Android\Sdk\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_5_API_24
Hax is enabled
Warning: requested ram_size 1536M too big, reduced to 1024M
Hax ram_size 0x40000000
HAX is working and emulator runs in fast virt mode.
**adb_server_notify: Failed to establish connection to ADB server**
emulator: Listening for console connections on port: 5554
emulator: Serial number of this emulator (for ADB): emulator-5554
I am getting this error:
Could not automatically detect an ABD binary. Some emulator functionality will not work until a custom path TO abd is added in extended settings page
Please help in resolving this.
Android emulator eats large part of your RAM. I would suggest you to use GenyMotion which is very fast and wasy to use.Here is the download link for that
Geny motion.
Please reduce RAM size of your emulator from Android Virtual Device Manager.

My AVD not working for some reason

I am trying to start the emulator in Android Studio, but for some reason it won't turn on. I've installed HAXM and invalidated caches and restarted AS but it still won't work. It is stuck at "Waiting for target device to come online". This is the response I get:
Hax is enabled
Hax ram_size 0x60000000
HAX is working and emulator runs in fast virt mode.
emulator: Listening for console connections on port: 5554
emulator: Serial number of this emulator (for ADB): emulator-5554
09/19 16:25:06: Launching app
Error while waiting for device: Timed out after 300seconds waiting for emulator to come online.
What else can I do?
EDIT: My PC specs:
Windows 10 Pro x64
Intel(R) Core(TM)2 Quad CPU Q8300 # 2.50GHz 2.50GHz
8.00 GB RAM
NVIDIA GeForce GT 610
190GB free space
Under Android SDK Manager you have to install Intel x86 Emulator Installer there. Android SDK Manager
check it out also:
Error in launching AVD with AMD processor
First, click on File -> Invalidate Caches/Restart.
If this solution is not working, try to update the build.gradle of your project.
For example, update the compileSdkVersion to 25, (the supports libs to 25), the buildToolsVersion 25.0.2 and the targetSdkVersion to 25. Don't forget to sync your gradle after that.

Android Emulator is not running (Error)

Android emulator is not running and is showing this error:
D:\Software\tools\emulator.exe -netdelay none -netspeed full -avd
Nexus_4_API_23 emulator: device fd:748 HAXM is working and emulator
runs in fast virt mode emulator: Failed to sync vcpu reg emulator:
Failed to sync HAX vcpu context Error accepting connection, aborting
just shut down all virtual boxes. Most people have genymotion running which causes the issue. run one emulator at a time and virtual device.
I think that you need to install the HAXM on your machine. To do so just follow the path
Your SDK\extras\intel\Hardware_Accelerated_Execution_Manager
there you can install the intelhaxm-android. if its giving you the error thats mean your machine has turnd off support virtualization or does not support. For understanding this and how to work around to enable this I would suggest you read this little discussion

Android Emulator Issue - HAX kernel module is not installed

I am trying to run an Android Emulator on i5-3220 8GB RAM computer, but I get the following error -
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
enter code here CPU acceleration status: HAX kernel module is not installed!
I have made sure that virtulization is enabled on the system as shown in the image below -
I searched other post for solutions where they pointed disabling Hyper-V is the solution to this problem. But I was unable to find hyper-v in the Windows feature manager -
How can I possibly proceed to get an android emulator running?
hope it helps... heres Intel documentation for HAXM

Categories

Resources