Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I restart an android emulator?

Tags:

android

adb

I'm basically trying to do this: Changing the Android emulator locale automatically

Everything works up until 'start'. the emulator starts to boot but keeps loading at the shimmering 'ANDROID' screen forever. I must be missing something... How can I restart the emulator from ADB?

Okay, I should be more specific.

I am trying to do this from the command line using adb. I can use adb to setprop and I can stop the emulator. When I try doing 'start' in the adb shell, the emulator does begin to boot, but it never returns to the lock screen.

like image 294
jeff Avatar asked Mar 21 '12 18:03

jeff


People also ask

How do I fix Android Emulator not working?

If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.

How do you close an Android Emulator?

To stop a running emulator, click Menu and select Stop.

How do I manually start an emulator?

Build and package your app into an APK as described in Build and Run Your App. Start the emulator from the command line as described in the previous section, using any startup options necessary. Install your app using adb. Run and test your app on the emulator.


2 Answers

In Android Studio go to:

  1. Tools > Android > AVD Manager
  2. Select your emulator device
  3. Click "Cold boot now" to restart, or "Wipe data" to factory reset
like image 58
totas Avatar answered Oct 07 '22 15:10

totas


you can try

emulator @avd_name -no-snapshot-load 

it will clean load the device it worked for me.

like image 42
Kiran Chenna Avatar answered Oct 07 '22 14:10

Kiran Chenna