Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reboot android device emulator in Genymotion

How can i test my application after reboot(BOOT COMPLETED) using Genymotion I am using nexus 4 as device

<receiver android:name="com.template.SampleBootReceiver"
            android:enabled="true">
    <intent-filter>
        <action android:name="android.intent.action.BOOT_COMPLETED"/>
    </intent-filter>
</receiver>
like image 556
user3926701 Avatar asked Sep 09 '14 08:09

user3926701


People also ask

How do I force shut down an Android Emulator?

To stop a running emulator, click Menu and select Stop. To clear the data for an emulator, select Wipe Data.

How do I turn off Genymotion emulator?

if you are connected to an android vm with the genymotion frontend, try to press the power-down button (right low corner) and keep pressing it until the shutdown menu appears. Save this answer.


2 Answers

You can press emulator power button. When pressed, you will see option dialog. That dialog you can choose "Restart". Hope for help.

enter image description here

like image 192
B M Avatar answered Sep 28 '22 20:09

B M


You can use the command line with adb reboot. It should restart your device.

To use adb you need to be inside the adb binary's folder. ie, <android SDK>/platform-tools/ or <genymotion folder>/tools/ if the android SDK is not installed. You can also these folders to your path to access it from anywhere.

like image 44
eyal-lezmy Avatar answered Sep 28 '22 20:09

eyal-lezmy