可能项目越做越大吧(其实是图片多^-^),到了后面每次调试安装时都出现Failed to install *.apk on device *: timeout
现在将这个问题整理出来,以便以后查阅。
错误出现:连接真机调试的时候如果连接太久没响应就会出现timeout
根据网上众多资料:可分为这几个解决方法
方法由简单到麻烦:
1.在window-》prensent....-》android-》设置ddms的timeout时间。这种是就最有效、最简洁的。
2.delete android里面的 apk,保证速度。不过试过一次后,真机好像变“聪明了”,也出现timeout。
3.Cleaning the project (Project->Clean),不行就重启eclipse或者android,很郁闷的是,重启后运行第一次可以。第二次就开始变慢了,也就是出现timeout
4.网上一个我没试过的方法:
Don't use spaces in your directory names. If you have files that are in such a directory (e.g., stuff inside of C:\Program Files\), copy them to another spot that does not have spaces.
很明显是说目录里面不要有空格,排除
个人的解决办法是:如果是真机删除了,把程序卸载了,而且关闭eclipse ,然后再重启,就ok。
如果是虚拟机,关闭了重新运行就可以了。
感谢网友的无私奉献!
分享到:
相关推荐
版本错误的处理Install Repository and sync project show in file Show in Project Structure dialog
Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project
Caused by: android.system.ErrnoException: write failed: ENOSPC (No space lef
adb: failed to install SystemActivities.apk: Failure [INSTALL_FAILED_OLDER_SDK: Failed parse during installPackageLI: /data/app/vmdl1716187195.tmp/base.apk (at Binary XML file line #0): Requires newer...
vbsedit Failed to load pdm.dll解决办法. 带有详细的使用说明 安装 vbsedit 运行时 来提示vbsedit Failed to load pdm.dll 千辛万苦找到的 很好用的解决办法
NULL 博文链接:https://ouyida3.iteye.com/blog/1144326
[2011-03-09 15:21:34 - Info] Failed to install Info.apk on device '?': Unable to open sync connection! [2011-03-09 15:21:34 - Info] java.io.IOException: Unable to open sync connection! [2011-03-09 15:...
解决fatal:remote error:You can’t push to git://github.com/username/*.git问题的办法 今天Git push的时候 fatal:remote error: You can't push to git://github.com/username/*.git Use git@github....
在<plugins></plugins>中添加 <groupId>org.apache.maven.plugins <artifactId>maven-compiler-plugin <version>3.8.1 <source>1.8 <target>1.8 </plugin>
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.1.0 -Dpackaging=jar -Dfile=ojdbc6.jar 安装成功 3.最后找到项目的pom.xml引入如下代码,右击项目名称,找到maven,...
idea创建Maven项目时,报错显示Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources,并且Maven插件内看不到 mybatis-generator。如下图: 折腾了好久发现配置放错地方了,...
用u盘启动模式下安装 Ubuntu16.04及以上,出现安装问题。ubuntu彻底解决-“Failed to load ldlinux.c32”问题
主要介绍了Android 模拟器出现错误解决办法的相关资料,如:Unable to get view server version from device,Failed to install helloworld.apk on device 'emulator-5554': timeout,这种常见错误,解决办法,需要...
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed 网上很多说法是libeay32.dll和ssleay32.dll复制到可执行文件里,这个只是解决在Qt Creator下编译运行可以,单独打包不运行...
系统环境:CentOS Linux release 7.6.1810 (Core) 起因:npm构建时报错 ... fatal: unable to access 'https://github.com/nhn/raphael.git/': Failed connect to github.com:443; Connection timed out npm
Failed to install .apk on device 'emulator-5554': timeout
jenkins+jdk jenkins+jdk jenkins+jdk jenkins+jdk jenkins+jdkjenkins+jdk
1.git安装 2.nodejs安装 node -v npm -v #换镜像 npm install -g cnpm --registry=https://registry.npm.taobao.org ...WARN Failed to install dependencies. Please run ‘npm install’ manually!
解决caffe在make时出现如下错误: src/caffe/util/io.cpp:17:10: fatal ...Makefile:610: recipe for target '.build_release/src/caffe/util/io.o' failed make: *** [.build_release/src/caffe/util/io.o] Error 1
赠送jar包:jakarta.activation-1.2.2.jar; 赠送原API文档:jakarta.activation-1.2.2-javadoc.jar; 赠送源代码:jakarta.activation-1.2.2-sources.jar; 赠送Maven依赖信息文件:jakarta.activation-1.2.2.pom;...