Ali*_*ice 6 android android-emulator
我对开发很陌生.
我已经安装了Eclipse和Andoid SDK.但是,我无法让模拟器工作.我已经尝试过示例记事本代码和Hello Android教程代码.每次我尝试运行任一应用程序时它只挂在时钟屏幕上(屏幕也说充电50%并有一个挂锁).
以下是示例记事本应用程序的控制台信息.
[2011-03-11 15:27:17 - samplenotpad] ------------------------------
[2011-03-11 15:27:17 - samplenotpad] Android Launch!
[2011-03-11 15:27:17 - samplenotpad] adb is running normally.
[2011-03-11 15:27:17 - samplenotpad] Performing com.example.android.notepad.NotesList activity launch
[2011-03-11 15:27:17 - samplenotpad] Automatic Target Mode: launching new emulator with compatible AVD 'myEmulator3'
[2011-03-11 15:27:17 - samplenotpad] Launching a new emulator with Virtual Device 'myEmulator3'
[2011-03-11 15:27:19 - samplenotpad] New emulator found: emulator-5556
[2011-03-11 15:27:19 - samplenotpad] Waiting for HOME ('android.process.acore') to be launched...
[2011-03-11 15:27:33 - Emulator] emulator: emulator window was out of view and was recentred
[2011-03-11 15:27:33 - Emulator]
[2011-03-11 15:28:17 - samplenotpad] HOME is up on device 'emulator-5556'
[2011-03-11 15:28:17 - samplenotpad] Uploading samplenotpad.apk onto device 'emulator-5556'
[2011-03-11 15:28:17 - samplenotpad] Installing samplenotpad.apk...
[2011-03-11 15:29:09 - samplenotpad] Success!
[2011-03-11 15:29:10 - samplenotpad] Starting activity com.example.android.notepad.NotesList on device emulator-5556
Run Code Online (Sandbox Code Playgroud)
没什么......
我已经从这个页面尝试了以下步骤,但仍然无法正常工作.
http://developer.android.com/guide/appendix/faq/troubleshooting.html#eclipse
Eclipse不是在与模拟器交谈
当Eclipse和模拟器之间似乎没有发生通信时,症状可能包括:当您按下运行时,没有任何事情发生,模拟器挂起等待调试器连接,或者Eclipse报告无法找到模拟器或贝壳.到目前为止,最常见的症状是当您按下运行时,模拟器启动(或已经运行),但应用程序无法启动.
您可能会发现这些步骤中的任何一个都可以解决问题,而且通过练习您可能会找出您需要为特定问题做哪一个,但首先,最安全的选择是按顺序运行所有这些步骤:
想知道我是否需要尝试卸载并重新安装某些组件?
我正在运行Windows 7.
任何帮助非常感谢 - 请尽可能简单的英语语言:-)
| 归档时间: |
|
| 查看次数: |
31391 次 |
| 最近记录: |