[英]Emulator hangs after running the android program
I am trying to run application on android emulator. 我正在尝试在android模拟器上运行应用程序。 The application showing list-view with images.
该应用程序显示带有图像的列表视图。 When i am trying to run the application it launches well on emulator without any warning or error if i keep emulator idle for 1-2min it gets hang.
当我尝试运行应用程序时,如果我将仿真器闲置1-2分钟,则它可以在仿真器上很好地启动,而没有任何警告或错误,它会挂起。 It stop responding completely.
它停止完全响应。 Evert time i need to start it manually then i can run application again.
我需要手动启动它,所以我可以再次运行应用程序。
I am not getting where i am getting wrong, why my emulator gets hang. 我没有走错地方,为什么我的模拟器挂起。
And i am facing one more problem i set minSdkVersion="8" and targetSdkVersion="16" but when i run it on below API level 16 emulators the application appears in black and white color. 我面临的另一个问题是,我设置了minSdkVersion =“ 8”和targetSdkVersion =“ 16”,但是当我在低于API级别16的模拟器上运行该应用程序时,该应用程序将显示为黑色和白色。
Can any one guide me for this. 谁能为此指导我。
Any help is highly appreciated. 非常感谢您的帮助。
Thanks in advance. 提前致谢。
First question: 第一个问题:
Try creating a new emulator, try restarting eclipse, lastly try updating all of your ADT and SDK. 尝试创建一个新的模拟器,尝试重新启动Eclipse,最后尝试更新所有的ADT和SDK。 Lastly, try turning your computer off and on again.
最后,尝试关闭计算机,然后再次打开。
Second question: 第二个问题:
Set a theme in your manifest. 在清单中设置一个主题。 If you don't set a theme it will default to the API level default.
如果您未设置主题,则它将默认为API级别默认值。 The holo theme was introduced in Honeycomb, so everything below honeycomb will usually look a lot different.
holo主题是在Honeycomb中引入的,因此Honeycomb下面的所有内容通常看起来都大不相同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.