简体   繁体   English

当我运行我的应用程序时,android 仿真器总是显示空白黑屏

[英]android emultater always shows a blank black screen when i run my app

My android emulator was working fine.我的 android 仿真器工作正常。 Then the next day when I started king on my app the emulater showed a blank black screen.然后第二天当我开始在我的应用程序上运行时,模拟器显示一个空白的黑屏。 I tried to run another app I was working on same thing.我试图运行另一个我正在做同样事情的应用程序。 Tried to create a new app and emulator same thing.试图创建一个新的应用程序和模拟器相同的东西。

If the XML file is still showing you a view of what should be there I'd say its an issue with the emulator your using, try the nexus 5X and let me know how you get on.如果 XML 文件仍然向您展示应该存在的内容,我会说这是您使用的模拟器的问题,请尝试使用 nexus 5X 并让我知道您的进展情况。

Alternativly you can use your own phone by enabling developer mode turning on usb debuging and plug it in to your computer to run the app off of.或者,您可以通过启用开发人员模式打开 usb 调试并将其插入计算机以运行应用程序来使用自己的手机。

Would have put this as a comment but dont have enough cred:P hope it helps.会将此作为评论,但没有足够的信誉:P希望它有所帮助。

remove emulator from avd manager and make a new one从 avd 管理器中删除模拟器并创建一个新的

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM