简体   繁体   English

无法在设备超时上安装* .apk启动已取消

[英]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.

相关问题 无法在设备&#39;emulator-5556上安装six.apk - Failed to install six.apk on device 'emulator-5556 Launch canceled android:无法在设备“device”上安装.apk:超时 - android: Failed to install .apk on device “device”: timeout 无法在设备'**'上安装Hello.apk:timeout - Failed to install Hello.apk on device '**': timeout Android 错误:无法在设备上安装 *.apk *:超时 - Android error: Failed to install *.apk on device *: timeout 出现什么错误“无法安装” <name of app> .apk”后面紧跟“启动已取消!”是什么意思? 我的代码有问题吗? - What do the errors “Failed to install <name of app>.apk” followed by “Launch canceled!” mean? Is there something wrong with my code? 无法在设备&#39;emulator-5554&#39;上安装apk:超时 - Failed to install apk on device 'emulator-5554': timeout 错误:“无法在设备&#39;模拟器-5554上安装apk&#39;:超时” - Error: “Failed to install apk on device 'emulator-5554': timeout” 无法在设备“ emulator-5554”上安装appname.apk:超时 - Failed to install appname.apk on device 'emulator-5554': timeout 错误:无法在设备上启动应用程序:错误:无法将 apk 安装到设备:未在 Android api 级别 23 上安装 - ERROR: Failed to launch application on device: ERROR: Failed to install apk to device: not installing on Android api level 23 无法在真实设备上安装APK - Failed to install apk on real device
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM