Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to install *.apk on device timeout Launch canceled

Tags:

android

I read all threads about this problem but the mentioned answers in the threads don't work for me. Can I find out which is the timeoutproblem with the help of a logfile? Is it possible that on my pc are drivers which have problems with the adb? How the adb works in detail if i start the debug process? Can anybody help me with this problem? I spent 16 hours of finding out what the problem is, but the only things I found out are that the problem has nothing to do with the installation of the eclipse, the adt plugin or the android sdk installation. Something with the connection between the emulator or my real device dont work. If i create a new project and only change the appname or the text in the standard textview, then the app can be launched on the devices. If i do more changes for example create a new layout or something then the app wont work anymore. I am very frustrating in finding out whats wrong with the adb but till now i dont have luck to solve the problem. I hope someone can help me and others with the same problem. thanks.

like image 371
user1256722 Avatar asked Mar 10 '12 13:03

user1256722


2 Answers

In eclipse, you can increase the timeout. In Eclipse, Go to preferences>In the dialog select android>DDMS>increase the timeout value

like image 128
arjoan Avatar answered Sep 24 '22 20:09

arjoan


you could also try to reboot your phone, or restart your adb server

adb kill-server
adb start-server

it worked for me :) (increasing timeout value didn't work for me)

like image 30
Romain Durand Avatar answered Sep 21 '22 20:09

Romain Durand