[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!
- JDK Location in Android Studio
- How to install Android Studio Chipmunk and SDK tools on macOS (2021.2)
- [Android Studio] MainActivity does not exist
- [Android Studio] Hardcoded string Button, should use @string resource
- Android Studio : Connection Error : Failed to download patch file
- [Android Studio] Could not automatically detect an ADB binary
- Show Android Studio Emulator in a Separate Window
- Android Emulator Screenshot saved location
- How to Import External Jars to Android Studio Project
- How to remove Floating Action Button Android Studio Blank Activity Template
- Error running 'app': No target device found.
- Use Netbeans keyboard shortcuts in Android Studio
- Instant Run requires Tools | Android | Enable ADB integration to be enabled
- [Solved] Error launching studio
- [Android Studio] Error: Missing system image on device
- Android Studio 1.3 beta now Available for Developers
- Android Studio : Change FAB icon color : FloatingActionButton
- Android Studio emulator/Device logCat logs not displayed
- Delete Android Studio Projects
- Android Emulator window was out of view and was recentered
- Android Studio NoClassDefFoundError: java.awt.Toolkit
- Installing Android Studio Dolphin on Mac with Apple (M1/M2) Chip
- Android Studio : Implement abstract methods shortcut
- Check Android Studio App is M1/M2 Chip based post installation
- Android Studio: Cannot perform refactoring operation
- How to comment code in Python - Python
- How to Open Calculator using Mac Terminal - MacOS
- say command macOS terminal examples - MacOS
- Robinhood unexpected server error - Android
- How to delete all text after a character or string in Notepad++ - NotepadPlusPlus
- Implementing Merge Sort Algorithm in Java Program - Java
- How to create MD5 digest in Notepad++ - NotepadPlusPlus
- SharePoint installation - Appfabric installation failed because installer MSI returned with error code:1603 - SharePoint