Not only sometime, lot of time you may get ‘Android Emulator Error – Failed to install *.apk on device *’emulator-5554′: timeout Launch canceled!’ Problem. We having best solution for this Error. This following message you will get in the Console, when you trying to run/debug/install an Android app on real device.
You can’t find this issue in Eclipse. But we are having lot of solutions (5) for this error.
Android Emulator Error – Failed to install *.apk on device *’emulator-5554′: timeout Launch canceled!
Solution 1: Increase timeout using Eclipse
ADB connection default timeout is 5000ms. But this time not enough for execute. So you have to change 100000ms to troubleshoot this problem. In Eclipse, you can do this through following,
Window-> Preferences -> Android -> DDMS -> ADB Connection Timeout (ms)
Solution 2: Using USB
Unplug the USB cable and connect again then run the App. Sometime changing the USB Port will be work.
Otherwise try with another USB cable, I mean change the Cable.
Solution 3: In Command Prompt
You can run the following Command line in CMD,
It means restart your server.
Solution 4: Reboot
Final solution is the ultimate one. If you tried other 3 options and till you having same “Failed to install *.apk on device *’emulator-5554′: timeout” error, then use this solution.
1. Close the Emulator and Eclipse
2. Restart your system/Device
3. Then run both Eclipse and Emulator
Solution 5: Reinstall
Till you having same error after tried above solutions, then uninstall the Eclipse and Emulator, then reinstall both things and follow solution 1.
If you a doubt with install .apk file in Android Emulator, just Refer.
Mustn’t use spaces in the directory(folder) names.
All the Best.