HelloAndroid]emulator-5554 disconnected! Cancelling 'com.example.helloandroid.HelloAndroid activity launch'!

前端 未结 17 1147
轻奢々
轻奢々 2020-11-30 11:12

I am new to Android. Follow the HelloAndroid Tutorials by use Eclipse. After run HelloAndroid, the AVD \'xian_avd2\' lunched, but stop there, no \" Hello, Android\" display

相关标签:
17条回答
  • 2020-11-30 11:42

    And I got the solution from here. It perfectly works for me.

    0 讨论(0)
  • 2020-11-30 11:44

    This worked on Linux for me:

    • Run Emulator (Wait for the home screen of the Emulator to load)
    • Click Window > Open Perspective > DDMS
    • In Devices Panel, click on drop down menu > Reset adb
    • Run project
    0 讨论(0)
  • 2020-11-30 11:45
    1. Open Android Virtual Device Manager
    2. select the AVD you use for your app.
    3. Press the start button and wait for a new form to show up called (Launch Options).
    4. Check the box "Wipe user data" and hit "Launch" button.

    This should work.

    --- OR ---

    1. Open Android Virtual Device Manager
    2. Delete the AVD you use for your app.
    3. Create an new AVD.
    4. Start your new AVD.

    This should also work.

    0 讨论(0)
  • 2020-11-30 11:51

    This can happen on slow computers when the emulator doesn't start in time. When it eventually does start, it is no longer connected to ADB. The solution is to restart ADB so that it reconnects to the emulator. You can do this by executing the following in command line:

    adb kill-server
    adb start-server
    
    0 讨论(0)
  • 2020-11-30 11:53

    Disable snapshot and don't use it. It is what solved this issue in my case

    0 讨论(0)
  • 2020-11-30 11:54

    Maybe it's an AVD problem for existing machine. Try to create a new AVD from the AVD Manager and delete the old one.

    0 讨论(0)
提交回复
热议问题