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

前端 未结 15 1233
耶瑟儿~
耶瑟儿~ 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:11

    You can try to delete the emulator and reinstall it this usually does the trick for me. Sometimes you also run into hiccups on your computer so try restarting your computer. Your computer may not be able to handle android studio if so there is nothing you can do. Consequently, you may not have the right ram requirements. Finally, If all else fails you can try to delete then reinstall android studio.

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

    In AVD Manager,

    Go to Edit Icon on AVD Manager for selected Device.

    Click on show advanced settings and increase ram size from 1500 mb to 2 GB.

    Then it works.

    NOTE: Some virtual devices do not allow you to update RAM, but if so, try installing Nexus 4. because it does.

    NOTE2: If still doesnt work, dont give up. just uninstall and reinstall the device with changing RAM again. in some cases this is how it works

    NOTE3: If still doesnt work, this means your pc doesnt have enough ram space. so increase the ram to 3gb. it might work but it will suffer

    NOTE4: If still doesnt work, try it with multicore 2 instead of 4.

    NOTE5: Still doesnt work. Close the Android Studio and NEVER open it back :)

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

    Android Studio Emulator: Process finished with exit code 1. Maybe disk drive is FULL. You can delete some virtual devices unused. It works for me. it's next to the edit in your virtual manager devices menu (the arrow down)

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

    I had this problem and it took me nearly 2 days to resolve...

    I had moved my SDK location, due to the system drive being full, and it seems that someone, somewhere at Android Studio central has hard-coded the path to the HaxM driver installer. As my HamX driver was out of date, the emulator wouldn't start.

    Solution: navigate to [your sdk location]\extras\intel\Hardware_Accelerated_Execution_Manager and run the intelhaxm-android.exe installer to update yourself to the latest driver.

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

    I restarted Android Studio and create a new device in AVD MANAGER then I have increased the RAM size of emulator and it works nicely.

    UPDATED Sometimes it happens when you close emulator during building the App in to emulator.

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

    You need to check:

    • Your size on disk is not full - this's often happen due to creation of some virtual devices that are unused

    • The RAM size of emulator is not minimum as your requirements

    One more thing that I personally use: Use Pen Drive as a RAM


    Updated:

    Use HDD as RAM

    • Right Click on “This PC or My Computer” and Select Properties.

    • Now Click on “Advance System Settings”.

    • Now in “System Properties” you have to select “Advanced” tab.

    • Now click on “Settings” Under “Performance”.

    • Now in “Performance Option” again you have to select “Advanced” tab.

    • Now click on “change“ under “Virtual Memory”.

    • Un-check “Automatically manage paging file size of all drivers” and select “Custom size”.

    • In Custom Size enter the amount of data According to “Space available” which is written there.

    • Click on “set” button and Click on OK.

    • Now it will ask you to restart your Computer or Laptop.


    Another work around steps (tested) :

    1. Restart your Android Studio
    2. Create new device in your AVD Manager
    3. Increase the RAM size of the Emulator
    0 讨论(0)
提交回复
热议问题