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.