[英]I can't get my Android program to run correctly on an AVM in Eclipse
This is a simple question about getting started with developing Android apps using Eclipse. 这是一个关于使用Eclipse开发Android应用程序的简单问题。 I have followed all the tutorials on the developer site for installing Eclipse, the SDK and the ADT plugin.
我已经遵循了开发人员站点上的所有教程,以安装Eclipse,SDK和ADT插件。 When trying to run a simple Hello World program, everything seems to compile correctly, but then the virtual machine comes up empty.
尝试运行简单的Hello World程序时,所有内容似乎都能正确编译,但是虚拟机却空了。 In the Console Window it reads:
在控制台窗口中,其内容为:
The program then just sits and my text never comes up. 该程序然后坐着,我的文本永远不会出现。 Any idea with what the problem could be?
有什么问题的主意吗?
Give some time to emulator to load it. 给仿真器一些时间来加载它。 Actually it takes ages.
实际上,这需要很多年。 Anyway in mean time you can switch to DDMS perspective and and check the LogCat view.
无论如何,您可以同时切换到DDMS透视图并检查LogCat视图。 Basically it displays all messages from emulated android system.
基本上,它显示来自模拟android系统的所有消息。 I bet it will be very busy ;-)
我敢打赌,它会很忙;-)
So, don't panic, wait a bit :-) It happens to me too. 所以,不要着急,请稍等:-)我也遇到了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.