简体   繁体   English

我无法让我的Android程序在Eclipse中的AVM上正确运行

[英]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.

相关问题 我的Eclipse IDE无法编译我的Android程序 - my eclipse ide can't compile my android program 我的Android应用在模拟器中正确运行,但在模拟器的应用菜单中找不到 - my Android app is run correctly in emulator but I can't find it in the emulator's apps menu 当我在eclipse中运行我的Android应用程序时,我收到此错误 - When I run my Android application in eclipse, i get this error 我正在使用Zync 909平板电脑,我无法连接到PC来运行自己的Android程序 - am using Zync 909 tablet, i can't connect to pc to run my own android program 我无法通过Eclipse运行Android SDK Manager - I can't run the Android SDK Manager through the Eclipse 无法获得我的Android项目工作(Mac,Eclipse,eGit) - Can't get my Android project work (Mac, Eclipse, eGit) Kotlin、Android Studio:我无法让我的程序使用第二个适配器。 列表视图 - Kotlin, Android Studio: I can't get my program to use a second adapter. List Views Eclipse无法运行我的android应用程序 - Eclipse doesn't run my android applications 为什么我无法将我的Android应用程序登录到Eclipse中 - Why i can't sign my android application into eclipse 在我的程序从Eclipse运行大约6次之后。 得到“ INSTALL_FAILED_INSUFFICIENT_STORAGE - After I run my program about 6 times from eclipse. get " INSTALL_FAILED_INSUFFICIENT_STORAGE
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM