在Eclipse中的Andr​​oid模拟器AVD显示黑屏" Android和QUOT; [英] Android AVD emulator in Eclipse shows black screen and "android"

查看:252
本文介绍了在Eclipse中的Andr​​oid模拟器AVD显示黑屏" Android和QUOT;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚完成编码的应用程序,现在我想对它进行测试。

Just finished coding an application, and now I want to test it.

当我启动Eclipse中的AVD模拟器,它与黑色的屏幕,上面写着蓝色的Android的出现。设置我的AVD正确,并确保一切都是经书。
一切我所做的是在fragment_main.xml和MainActivity.java。
我甚至没有触及activity_main.xml中。

When I launch the AVD emulator from eclipse, it comes up with a black screen that says "android" in blue. I setup my AVD correctly, and made sure everything is "by the book". Everything I did is in fragment_main.xml and MainActivity.java. I didn't even touch activity_main.xml.

这会不会发生,因为我没有在我的activity_main.xml中文件什么?

Could this be happening because I do not have anything in my activity_main.xml file?

我试图运行AVD第一,那么该程序,反之亦然。
试图寻找对谷歌的答案,但我无法找到我的问题任何事情。
任何帮助是极大的AP preciated。

I tried running the AVD first, then the program, and vice-versa. Tried looking for an answer on google, but i can't find anything about my question. Any help is greatly appreciated.

感谢您!

推荐答案

它实际上是等待OS将在模拟器上加载。这通常需要几分钟的时间取决于您所使用的系统的配置。

It is actually waiting for the OS to be loaded on the emulator. This usually takes a few minutes depending upon the configuration of the system you are using.

只是等待几分钟,你就可以看到装在模拟器上通常的Andr​​oid操作系统。

Just wait for a few minutes and you would be able to see the usual Android OS loaded on the emulator.

当你在一个新的模拟器启动应用通常的控制台输出是一样的东西:

The usual console output when you launch an app on a new emulator is something like:

[2013-06-17 16:06:52 - FirstRun] New emulator found: emulator-5554
[2013-06-17 16:06:52 - FirstRun] Waiting for HOME ('android.process.acore') to be launched...
[2013-06-17 16:08:00 - FirstRun] HOME is up on device 'emulator-5554'
[2013-06-17 16:08:00 - FirstRun] Uploading FirstRun.apk onto device 'emulator-5554'
[2013-06-17 16:08:01 - FirstRun] Installing FirstRun.apk...
[2013-06-17 16:08:30 - FirstRun] Success!
[2013-06-17 16:08:30 - FirstRun] Starting activity dev.swm.firstrun.MainActivity on device emulator-5554
[2013-06-17 16:08:32 - FirstRun] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=dev.swm.firstrun/.MainActivity }

这篇关于在Eclipse中的Andr​​oid模拟器AVD显示黑屏" Android和QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆