Android emulator not showing the app- it only shows the skin

旧城冷巷雨未停 提交于 2019-12-23 07:01:17

问题


I started to develop android apps a few days ago, but I'm stuck with this problem.

I'm using Eclipse with ADT and have created the simple Hello World or any of the other sample applications, and when I run the project, Eclipse launches the Android emulator but it shows only the skin, with the screen saying "ANDROID" and nothing else, it's unresponsive to anything I do in the code.

It happens targeting both 2.2 and 1.5 versions, why is this happening and how can I fix this?


回答1:


The emulator will show "ANDROID" when it's loading. You will have to give it a minuto for it to start. If it does not start it could be cause for several reasons: for instance, if your computer don't have enough resources to run the emulator, or if there are internal problems with the SDK, etc. Try to run the emulator from the SDK folder and see if it works; if not, the problem could be your computer.




回答2:


Cristian's right - the "ANDROID" display is the loading screen. Give it a minute or two - if the main screen does not appear then, there may be some sort of problem. If so, you may also want to check that you created the emulator properly (a.k.a. for the version you are using, etc).

If the main screen does eventually show, then the loading process is simply slow. To deal with this during development, I would suggest leaving the emulator open when you compile and run your application code. The old version of the application will be replaced by the new one, and the app will automatically restart.



来源:https://stackoverflow.com/questions/3062202/android-emulator-not-showing-the-app-it-only-shows-the-skin

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