简体   繁体   English

为什么模拟器或Genymotion无法正确运行我的应用程序?

[英]Why emulator or Genymotion is unable to run my app properly?

I am using Genymotion for personal use to test my apps. 我将Genymotion用于个人用途来测试我的应用程序。
However, the emulator opens up, displays everything fine. 但是,模拟器打开,显示一切正常。
As soon as I run my app, it hangs or crashes.Same is happening when I use default android emulator. 一旦我运行我的应用程序,它就会挂起或崩溃。当我使用默认的Android模拟器时,也会发生同样的情况。
Also its taking quite too long to open my default emulator. 同样,打开我的默认模拟器花费的时间太长。
I checked HAX on console and it is running fine. 我在控制台上检查了HAX,它运行正常。
My system RAM is 8Gb. 我的系统RAM是8Gb。
It appears to me some memory like issue but cannot figure it out exactly. 在我看来,有些记忆犹如问题,但无法准确找出。

I had the same problem with ... 我对...有同样的问题

The solution that worked for me with x86 emulator was to update HAXM with the last version and to restart my computer. 适用于x86模拟器的解决方案是使用最新版本更新HAXM,然后重新启动计算机。

http://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager http://software.intel.com/zh-CN/android/articles/intel-hardware-accelerated-execution-manager

may be this also works for you 也许这也适合你

The root cause was a missing video driver (the vanilla Microsoft one wasn't enough). 根本原因是缺少视频驱动程序(普通的Microsoft驱动程序还不够)。 I was working with a cobbled-together frankenbox and found it useful to follow the instructions on finding the right driver here: 我正在使用一个拼凑在一起的弗兰肯盒子,发现按照说明在此处找到合适的驱动程序很有用:

http://support.amd.com/en-us/kb-articles/Pages/HowtoidentifythemodelofanATIgraphicscard.aspx#DID http://support.amd.com/zh-CN/kb-articles/Pages/如何识别ATIgraphicscard.aspx#DID的模型

I hope it helps 希望对您有所帮助

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

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