Android Emulation Issue; Application working on ARM system image but not Intel Atom system image

青春壹個敷衍的年華 提交于 2020-01-15 12:24:25

问题


Being frustrated with the speed of the android emulator running on a ARM image, as soon as I discovered the intel atom image I used it right away. There was a immediate speed boost (boot going from 30 sec to 3 sec) but my application no longer works completely. All the XML portions of the app work, but as soon as I move to my activity which is all surfaceview and canvas work the screen goes black. It does not crash and there are no errors in logcat. The stranger thing is that I have a previously developed application which implements similar things (canvas and surfaceviews mostly) which works fine on the new image.

Does anyone have any idea why this would be happening?

System Information: Hardware: intel xeon quad core processor; 6 gb RAM, Nvidia 610 graphics card OS: Ubuntu 13.04 64 bit


回答1:


Well this somehow resolved itself (no idea how). If you run into this issue just be patient and keep developing in your ARM image for a while, then check the Intel image once every few minutes for me it just started working again after about 45 minutes.




回答2:


Odd that it started working, I have found the "obj" folder doesnt get cleared out that well causing UI issues (generally didnt reflect changes I just made). So perhaps this was correctly deleted during a build which allowed it to start working correctly.



来源:https://stackoverflow.com/questions/17125080/android-emulation-issue-application-working-on-arm-system-image-but-not-intel-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!