我已经在这个问题上工作了两天,因为我是Android开发的新手。我正在使用Eclipse,当我选择启动应用程序时,AVD启动,屏幕为黑色几秒钟,然后动画“Android”出现,并且在此之后没有任何反应。我以为它一开始是装载,直到我把它打开了将近一个小时并且什么都没发生。
控制台读取
[2013-01-01 20:52:57 - FirstApp] Android Launch!
[2013-01-01 20:52:57 - FirstApp] adb is running normally.
[2013-01-01 20:52:57 - FirstApp] Performing com.example.firstapp.MainActivity activity launch
[2013-01-01 20:52:58 - FirstApp] Automatic Target Mode: launching new emulator with compatible AVD 'AVD_for_Nexus_S_by_Google'
[2013-01-01 20:52:58 - FirstApp] Launching a new emulator with Virtual Device 'AVD_for_Nexus_S_by_Google'`
正如我所说,我是新手,如果我没有提及任何其他必要的组件,那只是因为我不知道在哪里搜索这个解决方案。
感谢您的任何帮助。
答案 0 :(得分:0)
对于所有Android初学者来说,这可能是一个非常烦人的问题。 起初,我过去常常盯着“Android”动画片刻而且只是想知道。
使用ANDROID EMULATOR:
1. Always start the AVD before directly running an application.
Emulators usually take a considerable amount of time to load before you can
actually try to run an app.
2. Change the timeout settings by Window-->Preferences-->Android-->DDMS-->ADB
Connection TimeOut. Set it to say 50000.
3. Once the AVD has loaded fully(there is usually a homescreen kind of display
after the 'Android' animation you mentioned), then run your app as right-click-->
Run as Android Application
4.Sometimes, there is a keypad lock on the emulator display just like a phone, so
you might have to manually unlock the display before you can see the running app
希望这有帮助。