The android simulator displays emulator-5554 disconnected! Cancelling activity launch! Solution

Source: Internet
Author: User

First, I would like to thank Paul luo0739 and another online friend.Hello_missid: zhq56030207,In my article, I will reference the solution in their technical article.

 

About emulator-5554 disconnected! Cancelling 'xxx activity launch '! Solution:

 


D:

Cd d:/program files/android-sdk-windows-1.6_r1/tools
Emulator-AVD avd1.6

Where D:/program files/android-sdk-windows-1.6_r1/tools is the android SDK directory
Emulator-AVD avd1.6 start the simulator. 'avd1. 6' is the name of your own AVD.

Or write a BAT file and execute it directly:
@ Echo off
D:
Cd d:/program files/android-sdk-windows-1.6_r1/tools
Emulator-AVD avd1.6

After the command or BAT file is executed, the simulator interface will appear, and then we can run the android Java program we have compiled in eclipse. In this way, the simulator is not disconnected and the program runs normally!

 

 

 

[13:20:48-mp3player01] ----------------------------------

[13:20:48-mp3player01] Android launch!

[13:20:48-mp3player01] ADB is running normally.

[13:20:48-mp3player01] Deming mars.mp3 player. mp3listactivity activity launch

[3.3 13:20:48-mp3player01] Automatic Target mode: launching new emulator with compatible AVD 'av2. 100'

[3.3 13:20:48-mp3player01] launching a new emulator with virtual device 'av2. 100'

[13:21:10-mp3player01] New emulator found: emulator-5554

[13:21:10-mp3player01] waiting for home ('android. process. acore') to be launched...

[13:22:26-mp3player01] emulator-5554 disconnected! Cancelling 'xxx. XXX. xxxactivity activity launch '!

 

 

This error occurs after AVD is manually disabled. If AVD is disabled after it is started, the connection fails !), Cancel ....

 

As far as I know, I think this is not a serious problem.

 

Solution: Start an empty simulator without an application (you can also do the same as above: the Simulator Interface appears after the command or BAT file is executed) then run the android Java program we compiled in eclipse, so that the program runs normally without the simulator being disconnected!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.