---
title: "Android error: Failed to install *.apk on device *: timeout"  
description: "Android error: Failed to install *.apk on device *: timeout"  
author: "Royce Roy"  
published: 2015-05-20  
updated: 2015-05-20  
canonical: https://www.mindstick.com/forum/23246/android-error-failed-to-install-apk-on-device-timeout  
category: "android"  
tags: ["android"]  
reading_time: 1 minute  

---

# Android error: Failed to install *.apk on device *: timeout

I'm getting this error from time to time and don't know what causing this:

When trying to run/debug an [Android app](https://www.mindstick.com/articles/208957/a-complete-guide-for-android-app-development) on a real device (Galaxy Samsung S in my case) I'm getting the following error in the [Console](https://www.mindstick.com/blog/210/the-console-class):

Failed to [install](https://www.mindstick.com/articles/12876/the-top-5-reasons-to-buy-and-install-a-tonneau-cover) *.apk on device *:

timeout Launch canceled!

This is all the Console is [telling me](https://answers.mindstick.com/qa/50024/my-computer-is-telling-me-my-startup-drive-is-nearly-full-how-to-i-make-room). LogCat doesn't provide any information. Eclipse Problems view is not showing any issues.

I tried the following steps with no [success](https://www.mindstick.com/articles/12957/best-tips-to-make-your-ghostwriting-experience-a-success):

1. [Cleaning](https://www.mindstick.com/articles/12972/air-duct-cleaning-improving-indoor-air-in-dubai) the [project](https://www.mindstick.com/articles/105927/how-to-excel-at-managing-multiple-projects) (Project->Clean)

2. Restarting device, Eclipse, laptop, all of the above...

3. Moving the project to a [location](https://www.mindstick.com/blog/11636/relocating-business-or-office-to-another-location) without spaces.

The app has been debugged in the past on that device many times (app is live on Market), but this [problem](https://yourviews.mindstick.com/view/81399/tackling-the-problem-of-unemployment-during-corona-pandemic) happens every so often, and is VERY FRUSTRATING...

Any help would be greatly appreciated! Thanks.

## Replies

### Reply by Anonymous User

Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to10000ms to get rid of that problem.

If you are in Eclipse, you can do this by going through

**Window -> Preferences -> [Android](https://www.mindstick.com/articles/13046/10-reasons-why-i-prefer-android-vs-iphone-ios) -> DDMS -> ADB Connection Timeout (ms)**


---

Original Source: https://www.mindstick.com/forum/23246/android-error-failed-to-install-apk-on-device-timeout

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
