I have seen that my Android IDE LogCat console keeps throwing the below stated error message, sometimes when i try to run the app on Emulator (especially one thats running Android Lollipop version 5.1 API 22), the Uploading stage takes a bit of more time and thus Launch canceled! error, when i try again sometimes it works sometimes it doesn't,
[2015-05-19 18:39:32 - example] Android Launch!
[2015-05-19 18:39:32 - example] adb is running normally.
[2015-05-19 18:39:32 - example] Performing com.example.example.CreateQuizActivity activity launch
[2015-05-19 18:39:32 - example] Uploading Example.apk onto device 'emulator-5554'
[2015-05-19 18:39:41 - Quizziuq] Failed to install Example.apk on device 'emulator-5554': timeout
[2015-05-19 18:39:41 - example] Launch canceled!
To resolve this issue you gotta increate the Timeout time value set in for ADB. This can be done by,
Code2care'smission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.