[英]Failed to install *.apk on device timeout Launch canceled
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? 在我的电脑上是否有可能与adb有问题的驱动程序? How the adb works in detail if i start the debug process? 如果我开始调试过程,adb如何工作? 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. 我花了16个小时才发现问题所在,但我发现的唯一问题是这个问题与eclipse的安装,adt插件或android sdk的安装无关。 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. 如果我创建一个新项目并且仅更改标准文本视图中的appname或文本,则可以在设备上启动该应用程序。 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. 我非常沮丧地发现adb的错误但到目前为止我没有运气来解决这个问题。 I hope someone can help me and others with the same problem. 我希望有人可以帮助我和其他有同样问题的人。 thanks. 谢谢。
In eclipse, you can increase the timeout. 在eclipse中,您可以增加超时。 In Eclipse, Go to preferences>In the dialog select android>DDMS>increase the timeout value 在Eclipse中,转到首选项>在对话框中选择android> DDMS>增加超时值
you could also try to reboot your phone, or restart your adb server 您也可以尝试重新启动手机,或重新启动adb服务器
adb kill-server
adb start-server
it worked for me :) (increasing timeout value didn't work for me) 它对我有用:)(增加超时值对我不起作用)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.