所以我在android开发人员网站上完成了“Hello,World”教程。有关如何启动应用程序的说明:如何在eclipse中启动android应用程序
1)选择“运行”>“运行”。 2)选择“Android应用程序”。
够简单。除了什么开始是Android默认启动程序,而不是应用程序。我如何获得实际的应用程序?
代码是从复制粘贴:http://developer.android.com/resources/tutorials/hello-world.html
编辑:没有尝试过的logcat还没有,但控制台给我:
[2011-08-23 15:57:19 - HelloAndroid] Android Launch!
[2011-08-23 15:57:19 - HelloAndroid] adb is running normally.
[2011-08-23 15:57:19 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2011-08-23 15:57:19 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'MyPhone'
[2011-08-23 15:57:19 - HelloAndroid] Launching a new emulator with Virtual Device 'MyPhone'
EDIT2:显然,这是一个已知的问题。别人谷歌提供给我不工作的解决方案,但可能:http://developer.android.com/resources/faq/troubleshooting.html#eclipse
EDIT3:我发现很多人有同样的问题,但没有解决办法为止。 解决方法:使用物理设备。该程序在我的Nexus One上运行良好。我现在要离开这个问题了,不能在这上面花更多的时间。
你在控制台和logcat窗口中看到了什么? – MByD
似乎很奇怪,导致上述步骤是绝对正确的。 – Egor
你能在仿真器上看到你的应用程序的图标和名称吗? – user370305