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

Source: Internet
Author: User

 

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

1) online query methods

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!

 

2) In actual work, if the above operation method is not working, it may be that you did not select the appropriate Virtual Machine (AVD), so

You must first create a virtual machine for Android, that is, create a virtual machine on windows --> AVD manager,

After a virtual machine is created, Test start to check whether the system can run normally. If yes, the system is installed normally.

Here, select your android project, run --> RUN reset ate the AVD created in the target option of this option.

Now you can run to check whether it is consistent with your virtual machine.

 

2. If your first practice is invalid, you can try it out.

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.