android emulator black screen

前端 未结 8 1322
南旧
南旧 2020-12-15 23:15

I have recently installed android studio and all its update using sdks manager. When i try to start the emulator i can see this:

emulator -netdelay no

相关标签:
8条回答
  • 2020-12-16 00:02

    Same problem for me, I solved it by using x86_64 system image instead of x84, maybe x86 image has some bug on some host system, e.g. Windows 10.

    0 讨论(0)
  • 2020-12-16 00:07

    I ran into the same your issue, this is what I did that works: My one starts working with Nexus_4_API_25 (tried even with Nexus 6, Nexus 5 and Nexus One none of them was working!!) Create a new ADV from Android Studio ( bare in mind that i didn't allow the new front and rear camera to the new device, so switch them off) So go to Terminal and go to the folder where your emulator is and lists your emulators, my one:

    ~/Library/Android/sdk/tools/emulator -list-avds
    

    After run your emulator with the gpu hosted on your machine:

    ~/Library/Android/sdk/tools/emulator -avd Nexus_4_API_25 -gpu host
    

    It will start the emulator and then you can run your app in it. Hopefully this can helps someone else.

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