Android 模拟器不显示应用程序 - 它只显示皮肤

发布于 2024-09-06 04:48:11 字数 252 浏览 4 评论 0原文

几天前我开始开发Android应用程序,但我遇到了这个问题。

我将 Eclipse 与 ADT 一起使用,并创建了简单的 Hello World 或任何其他示例应用程序,当我运行该项目时,Eclipse 启动 Android 模拟器,但它仅显示皮肤,并带有屏幕上只显示“ANDROID”,没有其他内容,它对我在代码中执行的任何操作都没有响应。

针对 2.2 和 1.5 版本都会发生这种情况,为什么会发生这种情况以及如何解决此问题?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

时光清浅 2024-09-13 04:48:11

模拟器加载时将显示“ANDROID”。您必须给它一分钟才能启动。如果无法启动,可能有多种原因:例如,您的计算机没有足够的资源来运行模拟器,或者 SDK 存在内部问题等。尝试从 SDK 运行模拟器文件夹并查看它是否有效;如果没有,问题可能出在您的计算机上。

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.

难以启齿的温柔 2024-09-13 04:48:11

Cristian 的右边 - “ANDROID”显示是加载屏幕。请等待一两分钟 - 如果主屏幕没有出现,则可能存在某种问题。如果是这样,您可能还想检查是否正确创建了模拟器(也称为您正在使用的版本等)。

如果主屏幕最终显示,那么加载过程就会很慢。为了在开发过程中处理这个问题,我建议在编译和运行应用程序代码时将模拟器保持打开状态。旧版本的应用程序将被新版本替换,并且应用程序将自动重新启动。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文