111

After starting the avd in android studio, the system ui is not responding message comes in the android emulator. So, how can i fix it ?

Pouya Heydari
  • 2,268
  • 24
  • 38
Annchit R Sarma
  • 1,119
  • 2
  • 3
  • 3

14 Answers14

82

1.Open AVD Manager. enter image description here 2.Click to edit button for your device. enter image description here 3.Select Hardware in the Graphics drop down menu. enter image description here

Cihangir
  • 1,392
  • 10
  • 16
  • 71
    unfortunately this option is grayed out – Zain Jan 20 '21 at 22:30
  • 15
    Actually, this problem seems to be limited to devices with Play Store available, so Nexus 5X and Nexus 5 images will be forced to use Automatic Graphics, but all other devices allow you to choose either Automatic, Hardware or Software graphics. – Ayoub Boumzebra Jan 22 '21 at 09:05
  • 2
    It was grayed out but I changed the system image to x86-64 and now it works. I hope, it fixes this issue. It takes a time to check it. – Valentin Yuryev Apr 22 '21 at 12:35
  • any idea what is actual reason? is this an emulator issue or code? – Yusuf Khan Jun 17 '21 at 03:01
  • Didn't work. My Issue was what Pouya Heydari told about X86 & X86_64 versions... – AKTanara Jul 20 '21 at 08:17
  • 6
    If this option is grayed for you, just edit it directly in `config.ini` of your AVD. On Mac path would be: `$HOME/.android/avd/MyAvdName.avd/config.ini`. Change value of `hw.gpu.mode` from `auto` to `host` → `hw.gpu.mode=host` – colriot Oct 05 '21 at 18:18
  • Mine was greyed out so I deleted it and created a new one. Whatever time I may have lost by having to resetup a new device is easily worth the time lost using an unbearably slow emulator. – petestmart Nov 27 '21 at 18:17
50

I used to face this problem every time I started my AVD. Also the cold boot option was just a temporary fix for me.

I checked the android version that I had installed on my emulator, and noticed the ABI version was x86.

To fix that, I made a new android emulator, and in the selecting system image section, I chose the X86_64 version.

That fixed the problem for me.

Pouya Heydari
  • 2,268
  • 24
  • 38
29

On OS X, I am able to solved it by steps:

Open Android Studio. Navigate to Configure > AVD Manager. Under Actions > dropdown triangle on the right > Cold Boot Now:

MohammedYakub Moriswala
  • 2,767
  • 5
  • 29
  • 41
22

I was constantly annoyed by this and would often click on Wait, then realize after some time the tremendous amount of time wasted.

I fixed it by creating a new emulator (ctrl + shirt + a -> "avd", select avd manager):

  • Choose create new device, select Pixel 4 or Pixel 4 XL for example
  • Then instead of selecting recommended system image, selected "API Level S, ABI x86_64 (former device was only x86), Target Android API S (Google Play). Beware it will take 1.3GB and download, although fast will take a little bit -> go grab a cup of coffee. Finish? Click on Next.
  • In advanced settings (show), increase RAM from 512 to 1024.

Now I don't have this problem anymore.

Dharman
  • 26,923
  • 21
  • 73
  • 125
Antonin GAVREL
  • 7,991
  • 4
  • 44
  • 60
5

On Windows 10, I just wiped the data from the emulator image and started it again. However, as Aadn commented below, this is only a temporary solution.

gustavoknz
  • 372
  • 1
  • 5
  • 11
5

I finally found what causes this in my case. Once I resize, after a couple of minutes I got that error. So:

DON'T RESIZE YOUR EMULATOR WINDOW !!!!

I still got that message from time to time, but not that often.

despotbg
  • 603
  • 6
  • 11
1

If you use the Nexus S image with API 29 the message does not appear. I am using Android Studio 4.1.2.

Pixel 4 api 29 - shows the message when first used but if you diable a few apps it works fine. eg Disable Android Auto, Calendar, Camera, Clock, Device Policy, Google, Google, Google Indice Keyboard, Google Korean Input, Pinyin Input, Maps, YouTube.

user10186832
  • 253
  • 8
  • 13
  • 1
    "Nexus S image"? There are no device specific system images. It's only the name, the device picture and some settings. The system is always a virtualized x86. – The incredible Jan Mar 03 '21 at 13:54
1

Instead of clicking "Stop" just click on "wait" and the Emulator will work fine.

And If it is taking too much time in loading make sure you have installed the "HAXM installer" in SDK tools , Also make sure "Hyper V" option is also unchecked in "Turn Windows features on or off" in Control Panel --> Program and features.

Only After unchecking this feature you can install the HAXM installer.

After doing this the Emulator will not take time to load , but still it can show the error "System UI isn't responding", as I told in starting just click on "wait" and it will run smoothly.

Vishal Agrawal
  • 158
  • 3
  • 7
1

I had the same problem and solved it by navigating to the AVD Manager by

Tools > AVD Manager > Right Click the emulator > Wipe all data > Switch on the virtual device.

It worked for me just fine, you can also use it when you are troubleshooting the problem with the emulator in android studio.

Hamza Sharuf
  • 623
  • 5
  • 22
0

After installing the latest system images and creating an emulator using that. My problem is gone.

enter image description here

Arda
  • 1,591
  • 1
  • 13
  • 19
0

I tried this and solved my issue.

  1. Solution 01 - Change Emulated Performance
  2. Solution 02 - Create New Emulator - (Pixel 4 or Pixel 4 XL)
  3. Solution 03 - (Temporary) - Wipe Data

More Details -

https://coderog.com/community/threads/the-system-ui-isn%E2%80%99t-responding-error-in-android-studio-emulator.71/

0

Change your Graphics

Click wipe Data

Just follow this instruction hope it will be solved.

Musfiq Shanta
  • 789
  • 9
  • 6
0

You can download "Google APIs intel x86 atom_64 system image" from your sdk manager of your android version. This technique worked for me!!

Arif Frenk
  • 11
  • 3
0

I solved my problem using this solution from https://stackoverflow.com/a/66265270/5128831

It seems even though intel HAXM shows as installed on SDK Tools, it wasnt really installed so i had to go to below location and manually reinstall (intelhaxm-android) file.

C:\Users\SUHAIL\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager

if the file doesnt exist in that location, that means it wasnt downloaded and you will have to download the file online

Homayoon Ahmadi
  • 589
  • 1
  • 5
  • 15