Android Emulator shows System UI not responding on boot? - android

I'm trying to get a tablet emulator to test the tablet UI for an app I'm writing, but when it boots up the launcher will crash (Pixel Launcher in my case), followed with "System UI has stopped responding".
I've seen some solutions involving decreasing the resolution and memory, but those haven't worked for me. I tried uninstalling all SDK files, images, and Android Studio itself twice but it hasn't fixed it.

So far, it seems the issue has been resolved. I updated the Intel HAXM from 6.2.1 to 7.1.0. I also updated my Intel Graphics. I created a Nexus 9 emulator with API 27 and default settings as a control. It's been working with some mild lag for about 10 minutes. So I guess the SDK Manager doesn't install the most recent version of HAXM yet?
Here's the link where I got the installer: Intel HAXM 7.1.0

Related

Android Emulator 2.0 freeze with GPS

The Android Emulator 2.0 freezes some time after GPS is enabled.
The Android part completely freezes, the "control GUI" panel still works (but obliviously no effect to Home etc).
adb lists the emulator but no response for adb logcat etc.
The emulator must be closed with ctrl-alt-del. Next freeze comes faster. Instead of occurring within a minute, it occurs within tens of seconds. The PC must be rebooted to get back to a minute.
I want GPS and pressure sensors so GENYmotion and Visual Studio emulators are not an option.
Windows 10 Pro 64bit (before/after Anniversary Edition)
8GB RAM, Intel i5-3570, 30GB available on the Windows disk
Intel HAXM 6.0.3
Occurs for x86, x86_64, arm. Primarily been using Android 7.0 emulator, similar for older versions.
Also occurs with fresh AVD
Default settings for emulators (have tried deactivation multi-core, give more RAM etc)
AVD launched from AS 2.1.2 and 2.2beta1
Nothing seen in system logs, AS logs though: C:\Users\.AndroidStudioPreview2.2\system\log\threadDumps-20160814-103215-AI-145.3128856\freeze-20160814-120115-75\threadDump-20160814-120226.txt Cannot make out something from the logs.
Google has released an update and closed the issue.
Working for me.

Emulator not working in Android Studio 2.0

I am using Android Studio 2.0 Stable version. Whenever I click on the play button on the device to run it shows starting AVD progress in android studio and after completing it's progress nothing happened.The app window remains as it shown in screenshot and the emulator doesn't start. I can't find a solution for this issue. I have already tried many solutions which I found on the internet, changing HAXM version android SDK update, changed target API's. But nothing works.
Try edit AVD Settings -> Emulated Performance -> Graphics. Set Software - GLES 2.0.
Installing the Android Emulator (marked in to the image) solved my problem. If still you face face problem install API simulator and DHU emulator too. But only AE will solve the issue I guess.
I had exactly the same issue.
Windows 7 Professional SP1. Installed Android Studio 2.0, new HAXM ver 6.0.1 and updated to all new components like SDK tools 25.1.1.
When started - emulator do not shows up any window. 'emulator.exe' runs in the task manager and eats 25% of CPU.
Deleted all AVDs, re-created new; used AVD Manager directly; used ARM/Atom images (with/without HAXM); tried AVD with different API level - nothing helps.
Reverting to Android SDK Tools 24.4.2 helps - I can run emulator as usual - so, looks this is not the issue of new HAXM 6.0.1.
After day fighting finally got resolution:
I have removed C:Windows\System32\Wbem from system PATH variable.
I had the same problem. I just created the AVD with 768 MB RAM and it did run fine!
I have the same issues as you. I upgraded Android Studio to 2.0 stable which also updated the Android SDK.
I believe this issue is more of an Android SDK issue since using the SDK's AVD Manager directly I can replicate the issue.
As another data point, I've also modified the Virtual Device to only use 768MB RAM, to no effect. The Task manager shows the emulator using 2 threads and 13% CPU no matter how long I leave it running, but no window ever appears. I've tried with and without the HAXM. My virtual devices are running API level 21 (x86_64) and 19 (x86).
I've also reinstalled both Android Studio and the Android SDK without any affect. It could be a configuration issue due to the 2.0 and SDK upgrade, a broken SDK release, or something else entirely.
Reverting to Android SDK 24.4.1 allows the Emulator to start working again, but without the 25.1.1 functionality.
open cmd
type set and check if you can see C:\Windows\System32\Wbem in PATH variable
go to Control Panel -> System (on the left)->Advanced system settings -> (button at the bottom) Environment variables
Either in user variables (or more likely system variables) in variable PATH remove
%SystemRoot%\System32\Wbem (or C:\Windows\System32\Wbem)
restart studio
I stumbled upon the same problem. I checked SDK manager, turns out emulator has not been installed. After it's been installed, emulator start showing

Android Emulator startup time is too long

I am using Android Studio with Intel HAXM. The problem is that the Android emulator takes too long to load and once it is loaded it is slow despite the Intel HAXM installation.
I just referred this question and below were my results
Android Studio startup is taking long
Result: The emulator is still slow even after loading it for a couple of times.
Intel HAXM configuration
Memory allocated: 1.9 GB(this is the max size as specified during the installation)
Status: Intel HAXM is working.
Android Studio
AVD Details
API Level:19
Android Version: 4.4.2
Please see the screenshot
System Configuration
Core i3 2nd gen
4 GB RAM
Please let me know if further details are needed.
I had the similar problem to you in the past, but its just down to your processor (i3) as it cant handle the emulator that well, you can debug/run your app on to an android phone or tablet. If you have either of these to hand you need to go to RUN ---> EDIT CONFIGURATIONS and change the target devices to 'USB device'. On the phone/ tablet you need to go in to developer options and turn on USB debugging, if this doesn't work check to see if you have the phones/tablets drivers installed. There are plenty of tutorials on youtube. Good Luck! :)

Androild Studio Emulator Not Launching: Intel Haxm Not Installed

I was trying Android Studio - successfully installed it but couldn't launch the emulator and the error message was Intel Haxm wasn't installed. I checked my setting and realized it was installed.
I tried to re-run it several times and the same thing happened.
I tried to install SDK 17 and the error was still there.
May I know what might be causing this? And how should we solve it?
Thank you.
You was created an AVD with Intel Atom system image, so make sure that your CPU is Intel. If yes, see this instructions about installing HAXM on your computer.
If HAXM won't to be installed, please make sure that your CPU is strong enough to use HAXM. Then, change the system image of your AVD to ARM-v7 or Armeabi.
System image also called with CPU type of the emulator on AVD.
Another option to run Android Apps on computer:
If you are not able to use Android Studio Emulator (at all after trying above given solutions), then you can use Genymotion. It comes with free as well as paid versions. You can download this software on your Windows/Mac/Linux based computer and configure it with Android Studio/Eclipse.
Watch this video for more details: Install and configure Genymotion with Android Studio
Genymotion is fast and reliable and also has latest (till Lollipop 5.0) android support and provides many emulator themes as well.
I hope this answer helps you if above mentioned solution doesn't work.

Android Accelerated emulator keeps rebooting

I'm used to test application on both real devices and AVD. Since ICS virtual device was very slow, I decided to try the accelerated emulator. I followed instructions and successfully set up an accelerated virtual machine using Intel Virtualization Technology (x86 system image target).
The emulator works, and it's really fast. BUT at the second app upload/installation, it suddendly reboots. It always works fine at first startup/upload, but when I edit something and test the app again, it reboots "from scratch" (showing android logo).
I'm not using snapshots save/restore. LogCat doesn't report errors, I'm using Android SDK tools Rev.20 and platform-tools rev. 12, on Win7.
Intelhaxm seems to be working properly, reporting "RUNNING" state. After the reboot, I have to upload the app again, that's annoying.
Has anyone encountered the same issue and perhaps solved it?
The latest version of SDK Tools, Revision 20.0.1, claims to have fixed bugs related to emulators using GPU acceleration. Try it after upgrading to the latest verion of SDK tools and ADT.
From the revision history:
Fixed problems with running more than one emulator and running
multiple emulators with GPU acceleration.

Categories

Resources