[2015-03-30 21:05:10 - Toast] ------------------------------
[2020-03-30 21:05:10 - Toast] Android Launch!
[2020-03-30 21:05:10 - Toast] adb is running normally.
[2020-03-30 21:05:10 - Toast] Performing com.code2care.toast.MainActivity activity launch
[2020-03-30 21:05:12 - Toast] Uploading Android.apk onto device 'emulator-5554'
[2020-03-30 21:05:23 - Toast] Failed to install Toast.apk on device 'emulator-5554': timeout
[2020-03-30 21:05:23 - Toast] Launch canceled!
[2020-03-30 21:06:17 - Toast] ------------------------------

If you are getting the above error message in the Android ADT Eclipse console when you are trying to run your Android Project either on the emulator or the device, then its because the apk file is not being got uploaded on the device and a timeout has occurred! This is the most common error encountered while working with ADT
Solution :- Go to your project folder,
- Delete the gen folder
- Refresh the project
- Delete the contents in the bin folder
- Now to a Clean + Build
- Try to run the App, it should get uploaded
If the above solution does not work for you then you must try to change the default ADB connection timeout value i.e. 5000ms to some higher value. Let's see how we can do that,
- Go to Menu : Window (on Windows OS, else Eclipse -> Preferences if on Mac OS X)
- Select Android
- Under Android, Select DDMS
- Now look for Text field : ADB connection time out (ms):, change the value from default 5000 to say 15000.
- Click on Apply and OK.
- Now try to run the Application, it should work without throwing any console errors!
If none of the above works for you!! Then try to reboot your device, or if on emulator, close it and re-launch. You can also try to kill the adb services under Task Manager (Activity Monitor if on Mac OS X) and try.

Note sometimes faulty USB cords also cause such issues!! Try with some other USB cables. Sometimes we have multiple USB ports on the computer (some are USB2 and some USB3), so just try switching ports too!
- Locate MainActivity Java or Kotlin file in Android Studio
- groovy.lang.MissingPropertyException No such property Error
- How to fix java.net.NoRouteToHostException in Android Studio
- Your Android SDK is missing, out of date or corrupted SDK Problem
- [Android Studio] MainActivity does not exist
- [Android Studio] Could not automatically detect an ADB binary
- Android Studio: Cannot perform refactoring operation
- How to Configure Eclipse keymap in IntelliJ IDE
- Android Studio setup was canceled - How to resume
- [Android Studio] Hardcoded string Button, should use @string resource
- The selected device is incompatible : Android Studio
- Android Activity Main xml stuck loading
- Android Studio 1.3 beta now Available for Developers
- Installing Android Studio Dolphin on Mac with Apple (M1/M2) Chip
- Android Studio 4.2 Canary 1 now available
- [Android Studio] Button on click example
- Eclipse like Auto Import Shortcut in Intelij IDE Android Studio
- How to enable line numbers in IntelliJ Android Studio for all files
- Delete Android Studio Projects
- How to update Android Studio
- [Android Studio] Error: Missing system image on device
- macOS Big Sur java.lang.UnsatisfiedLinkError CoreFoundation - Android Studio
- Android [SDK Manager] The system cannot find the path specified
- Failed to install Android.apk on device 'emulator-5554': timeout
- [Solved] Error launching studio
- How to List all Packages installed using pip [Python] - Python
- Android App Showing Two Toolbars Issue fix - Android
- [Solved] SharePoint Access Denied error editing Document Name - SharePoint
- Install Native Golang on M1/M2 ARM based Mac - MacOS
- Fetch More then 10 Links Per Page in Google Search Result - Google
- git command to remove/unstage files from staging area - Git
- How to create volume in Docker using Command - Docker
- How to Install MongoDB in VSCode - HowTos