最近开发,兄弟们问我这个问题,写出来解决方法和大家分享一下。
当控制台出现:
Failed to install ***.apk on device '019417a3': Unable to open sync connection!
java.io.IOException: Unable to open sync connection!
Launch canceled!
或者
Uploading ****.apk onto device '1000b1eda2c2'
Failed to install ****.apk on device '1000b1eda2c2': adb rejected install command with: device offline
com.android.ddmlib.AdbCommandRejectedException: device offline
Launch canceled!
解决方法:
第一种:重启电脑,之后把手机查到电脑上,启动eclipse
第二种:手机-设置-应用程序-开发-usb调试打开再关闭一次
第三种:安装豌豆夹或者360手机精灵在电脑上,用他们连接手机,安装驱动。
第四种:在cmd下Try "adb kill-server" and then "adb start-server"
分享到:
相关推荐
[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:...
Caused by: android.system.ErrnoException: write failed: ENOSPC (No space lef
本文实例讲述了Laravel框架访问出错提示:`Warning require(vendorautoload.php) failed to open stream No such file or dire解决方法。分享给大家供大家参考,具体如下: 错误信息: `Warning: require(/...
问题描述: 在使用git 进行提交时, 出现上面这个报错, 导致无法提交. 报错大致意思就是创建index.lock文件失败,因为已经存在index.lock文件了. index.lock文件是在.git下面, 而.git是一般是隐藏的, 那么可以通过以下...
Missing artifact com.oracle:ojdbc6:jar:11.2.0.1.0问题解决 ojdbc包pom.xml出错 <!-- oracle数据库驱动 --> <groupId>com.oracle</groupId> <artifactId>ojdbc6 <version>11.2.0.1.0 1.首先确定你...
版本错误的处理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
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...
报错:Exception in thread “main” java.net.ConnectException: Call From hdp-1/192.168.234.129 to hdp-1:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more ...
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
系统环境: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
NULL 博文链接:https://ouyida3.iteye.com/blog/1144326
vbsedit Failed to load pdm.dll解决办法. 带有详细的使用说明 安装 vbsedit 运行时 来提示vbsedit Failed to load pdm.dll 千辛万苦找到的 很好用的解决办法
解决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....
JAVAHttpClientThe server failed to respond with a validCaused by: org.apache.htt
修改源码,当服务器BMC 不支持获取密码嵌套 是出现 超时异常 IpmiAsyncConnector.getAvailableCipherSuites(155)] Failed to receive answer, cause: com.veraxsystems.vxipmi.connection.ConnectionException: ...
thingsboard编译错误 Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:npm (npm install) on project js-executor: Failed to run task: 'npm install' failed. 该错误如果是3.0上的,请将...
主要介绍了Android 模拟器出现错误解决办法的相关资料,如:Unable to get view server version from device,Failed to install helloworld.apk on device 'emulator-5554': timeout,这种常见错误,解决办法,需要...
idea创建Maven项目时,报错显示Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources,并且Maven插件内看不到 mybatis-generator。如下图: 折腾了好久发现配置放错地方了,...