Pages Navigation Menu

Coding is much easier than you think

Failed to install *.apk on device *: timeout :- Android Error

Failed to install *.apk on device *: timeout :- Android Error

 
Just we need to extend the time , to remove this error.Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem. If you are in Eclipse, you can do this by going through Window -> Preferences and then it is in DDMS under Android.
 
** UPDATE: Android Complete tutorial now available here.
 
We can restart the adb to remove this error .

  • adb kill-server
  • adb start-server

With some never versions of the Platform Tools you can do this from the DDMS Perspective in the Devices Tab menu (near the Capture Button), click on Reset adb.

It is preferable to use the USB port in the back of your PC, since most of the front USB ports are low powered, and really seem to be slower when uploading apks on your devices.

  1. Clean and rebuild your project completely. If you are using Eclipse:
  2. Click the Project menu at the top, go to Clean
  3. Select your project, then click OK

I’m sure you have done this, but also try restarting your IDE.

This may sound stupid, but make sure your AVD IS running (and not locked up).

Changing the USB is also one of possible solution .

About Gokul


I am very much interested in android and Wicket framework. A core android developer and working in android native app development and responsive web mobile design. I have also worked in wicket fame work and java web development. I will keep on updating you about android and wicket framework and answer your query.