Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to clear cached configurations in Android Emulator 2.0's Extended Controls?

I encountered a bug that causes Android Emulator to crash every time the Extended Controls are opened (after clicking the More Options button). I have tried creating new emulators and wiping emulator data but the issue remains. This lead me to believe there is a cache containing previous configurations for Extended Controls.

Is there any way I can clear the cached configurations? Otherwise the 2.0 Extended Controls are completely useless now.

like image 468
Some Noob Student Avatar asked Apr 28 '16 00:04

Some Noob Student


People also ask

How do I clean my Android Emulator?

The easiest way is just to launch the emulator, go to settings -> applications . Then pick the unwanted applications and uninstall them. Alternatively you can do adb -e shell while the emulator is running, find the . apk files in the file system (I think they're under /system/apps) and remove them manually.

Where is extended controls in Android Studio?

You can use keyboard shortcuts to perform many common actions in the emulator. For a complete list of shortcuts in the emulator, press F1 (Command + / on Mac) to open the Help pane in the Extended controls window.


2 Answers

For android studio v2 and up (mac os):

  1. Tools / Android / AVD Manager
  2. Select the device to clear cache
  3. Click on the small arrow at the right
  4. Wipe data
like image 104
LMG Avatar answered Sep 19 '22 10:09

LMG


After a bit of lookup, I found that the settings are stored in registry HKEY_CURRENT_USER\SOFTWARE\Android Open Source Project\Emulator.

Deleting the whole key and restarting everything didn't resolve my problem. So here is your answer, hope you have better results.

like image 20
Odys Avatar answered Sep 22 '22 10:09

Odys