Android Studio AVD - Emulator: Process finished with exit code 1

后端 未结 14 1990
后悔当初
后悔当初 2020-12-18 18:07

I\'m having trouble starting my android emulator. Nothing appears to load.

Pixel 2 API 26 Android 8.0 x86.

Linux Ubuntu 16.04 LTS 64-bit.

相关标签:
14条回答
  • 2020-12-18 18:35

    For me there was a lack of space on my drive (around 1gb free). Cleared away a few things and it loaded up fine.

    0 讨论(0)
  • 2020-12-18 18:36

    In AVD Manager -> Edit -> Show Advanced Settings -> Boot Options (Selct Cold boot). That fixed my issue

    0 讨论(0)
  • 2020-12-18 18:36

    I had same issue for windows , the cause of the problem was currupted or missing dll files. I had to change them.

    In android studio ,

    Help Menu -> Show log in explorer.

    It opens log folder, where you can find all logs . In my situation error like "Emulator terminated with exit code -1073741515"

    1. Try to run emulator from command prompt ,
    • Go to folder ~\Android\Sdk\emulator

    • Run this command:

      emulator.exe -netdelay none -netspeed full -avd <virtual device name> 
      
      ex: emulator.exe -netdelay none -netspeed full -avd Nexus_5X_API_26.avd
      

      You can find this command from folder ~.android\avd\xxx.avd\emu-launch-params.txt

    1. If you get error about vcruntime140 ,
    • Search and download the appropriate vcruntime140.dll file for your system from the internet (32 / 64 bit version) , and replace it with the vcruntime140.dll file in the folder ~\Android\Sdk\emulator

    • Try step 1

    • If you get error about vcruntime140_1 , change the file name as vcruntime140_1.dll ,try step 1

    1. If you get error about msvcp140.dll
    • Search and download the appropriate msvcp140.dll file for your system from the internet (32 / 64 bit version)
    • Replace the file in the folder C:\Windows\System32 with file msvcp140.dll
    • Try step 1

    If it runs , you can run it from Android Studio also.

    0 讨论(0)
  • 2020-12-18 18:38

    This can be solved by the following step:

    Please ensure "Windows Hypervisor Platform" is installed. If it's not installed, install it, restart your computer and you will be good to go.

    0 讨论(0)
  • 2020-12-18 18:44

    This works to me:

    click in Sdk manager in SDK Tools and:

    Unistal and install the Android Emulator:

    Hope to help!

    0 讨论(0)
  • 2020-12-18 18:47

    My issue resolved

    • May be you do not have enough space to create this virtual device (like in my case). if this happens, try to create space enough for this Virtual device.

    OR

    • Uninstall and re-install can solve this issue.

    OR

    • Restarting Android Studio can solve.
    0 讨论(0)
提交回复
热议问题