eclipse中的模拟器不会运行项目

时间:2012-02-08 22:25:38

标签: java android eclipse

编辑:通过修复版本来解决一些问题,但是在程序被强制关闭之前,程序非常短暂地打开时仍会出现错误。我上传了logcat中给出的错误的屏幕截图:http://i44.tinypic.com/2ci70w4.png

- 我已经将一个下载的项目导入eclipse,并且拥有正确的sdk,因为我之前在模拟器上运行了东西。然而,这拒绝运行。如果有人想要实际的包装,我可以将你链接到它,如果你非常友好地看一下它(它只是六个左右的非常简短的代码文件)。无论如何,这些是我运行时在控制台中收到的消息。非常感谢任何帮助。


2012-02-08 20:46:46 - GoalManager] ------------------------------
[2012-02-08 20:46:46 - GoalManager] Android Launch!
[2012-02-08 20:46:46 - GoalManager] adb is running normally.
[2012-02-08 20:46:46 - GoalManager] Performing com.android.sample.goalmanager.LoginActivity activity launch
[2012-02-08 20:46:46 - GoalManager] Automatic Target Mode: launching new emulator with compatible AVD 'droidX2'
[2012-02-08 20:46:46 - GoalManager] Launching a new emulator with Virtual Device 'droidX2'
[2012-02-08 20:46:50 - Emulator] emulator: emulator window was out of view and was recentered
[2012-02-08 20:46:50 - Emulator] 
[2012-02-08 20:46:50 - GoalManager] New emulator found: emulator-5554
[2012-02-08 20:46:50 - GoalManager] Waiting for HOME ('android.process.acore') to be launched...
[2012-02-08 20:46:51 - GoalManager] emulator-5554 disconnected! Cancelling 'com.android.sample.goalmanager.LoginActivity activity launch'!

2 个答案:

答案 0 :(得分:0)

我认为问题不在于项目,而在于模拟器。尝试重新创建AVD。我以前遇到过这个问题,我想这对我很有帮助。

答案 1 :(得分:0)

检查您的操作系统环境变量。

  

echo $ ADBHOST