Android Emulator won't run application started from eclipse

前端 未结 11 2096
甜味超标
甜味超标 2020-11-28 06:42

I have followed the \"Hello World\" example from Google\'s Android developer\'s guide. When I try to run the application in the SDK emulator, nothing happens. The emulator s

11条回答
  •  无人及你
    2020-11-28 07:24

    I have the similar problem. I suggest the following workaround:

    1. close eclipse, in the Task Manager, kill all adb and emulator* processes.
    2. start eclipse, run your application, wait untill the emulator starts. If you have the problem, your application won't be started, there will be the bare emulator.
    3. In eclipse, select Window->Open Perspective->Other->DDMS. Switch to DDMS perspective. If you have the problem, the list of the devices will be empty.
    4. In the Devices tab, in the drop-down box, select "reset adb". In a short while, the emulator must appear in the devices list.
    5. Following that, switch back to your Java perspective and run your app. Everything must work fine for the rest of the session.

提交回复
热议问题