Android Studio Emulator and “Process finished with exit code 0”

前端 未结 15 1234
耶瑟儿~
耶瑟儿~ 2020-12-01 15:45

I\'ve updated android studio from 3.0 to 3.0.1 but when I launch Emulator it didn\'t get launched and gives message in event log:

Emulator: Process finished          


        
相关标签:
15条回答
  • 2020-12-01 16:17

    In my case, Emulator: Process finished with exit code 0 error started after I pressed on Restart in the Emulator.

    It happened because in Android Studio 3.0 and up versions, the emulator saves the states of the current screen to launch it very quickly at next time. So when I pressed on Restart it closes emulator by saving state as Restart. So when I launch/start the emulator, it executes the Save States as Restart and then after emulator is not started automatically. So basically it stuck in to Save States of Restart.

    I don't want to delete existing emulator and create a new one.
    My default Boot Option of Emulator was Quick boot in AVD.
    By doing Cold Boot Now from AVD (Android Virtual Device) Manager, it starts emulator again in normal mode without Save State.

    Cold boot start emulator as from power up.

    0 讨论(0)
  • 2020-12-01 16:21

    I was able to get past this by making sure all my SDKs were up to date. (Mac OS 10.13.3, Android Studio 3.0.1). I went to Android Studio -> Check for Updates... and let it run. Once my Android 5.0/5.1 (API level 21/22) SDKs were updated to revision 2:

    After doing this update, I was able to run the emulator without crashing out immediately with a "Emulator: Process finished with exit code 0" error.

    0 讨论(0)
  • 2020-12-01 16:22

    I also faced the same error. After a few hours I figured it out.

    I hope it helps you :

    Go to Tools ==> SDK Menager ==>Android SDK

    (Appearange&Behavior=>System settings=>Android SDK)==>SDK Tools==>Intel x86 Emulator Accelerator(install this).

    It will solve your problem.I hope it helps.

    0 讨论(0)
提交回复
热议问题