安装apk文件报waiting for device 时解决办法

C:\Users\root>adb install d:\rry_0514.apk
error: more than one device and emulator
- waiting for device -
error: protocol fault (status read)

# Kill and restart      
$ adb kill-server      
$ adb start-server     
 daemon not running. starting it now *      
 daemon started successfully *

# Device appears, but is listed as offline

$ adb devices      
$ adb logcat

时间: 2024-08-29 17:04:25

安装apk文件报waiting for device 时解决办法的相关文章

Android 在代码中安装 APK 文件

废话不说,上代码 private void install(String filePath) { Log.i(TAG, "开始执行安装: " + filePath); File apkFile = new File(filePath); Intent intent = new Intent(Intent.ACTION_VIEW); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); if (Build.VERSION.SDK_INT >

windows8.1下安装msi文件报错

新安装了win8.1系统体验体验,可是安装msi文件的软件报internal error2502和2503错误,可以换一种安装方式. 不是直接点开安装,如图所示打开命令提示符: 使用msiexec /package 安装文件的全路径  进行安装比如:C:\Windows\system32>msiexec /package C:\Users\Administrator\Downloads\VisualSVN-Server-2.7.7.msi 即可解决报错问题 windows8.1下安装msi文件报

解决Genymotion2.8.1在拖动安装APK文件出现ARMtranslate错误

转载文章:http://blog.csdn.net/solo_talk/article/details/68488129 在新版本的genymotion中,我们拖动安装APK文件的时候会出现一个问题,那就是: 这个问题经常会出现,在以前的版本中,我们只需要将genymotion-arm-translation_v1.1.zip这个文件直接拖放到模拟器中就可以解决,但是在新版本中,放进去还不能解决,需要我们手动安装. 在新版本中解决办法是: genymotion也是设置本地的sdk,如下图所示:

快捷地安装apk文件到android手机中

在pc中,在没有安装各种手机助手的情况下,android程序员如何快捷地(对apk文件双击,即可自动安装,不用手动输命令)安装apk文件到android手机中? 可以使用以下方法:使用批处理文件 + Quick Batch File (De)Compiler 步骤: 1.编写以下dos命令,并保存为apk.bat @echo off echo 正在连接手机... adb wait-for-device echo. rem 获取双击apk文件的绝对路径 set apk=%* echo 正在安装:%

Android 代码安装APK文件

代码安装APK文件 Intent intent = new Intent(Intent.ACTION_VIEW); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.setAction(android.content.Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(file),"application/vnd.android.package-archive");

在CentOS中安装32位或64位MySql报错error: Failed dependencies解决办法

在CentOS中安装MySql报错error: Failed dependencies解决办法 安装64位MySql报错内容如下:error: Failed dependencies:        libaio.so.1()(64bit) is needed by MySQL-server-5.6.19-1.el6.x86_64    libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.6.19-1.el6.x86_64    

.NET下载文件报错System.UnauthorizedAccessException的解决方法

转自原文.NET下载文件报错System.UnauthorizedAccessException的解决方法 假设VS代码对应路径为E:\Projects\Web1,在VS用“发布Web”的方式发布后的路径为E:\Site\Web1.在IIS新建2个站点,站点A指向E:\Projects\Web1,站点B指向E:\Site\Web1. 现在出现一个异常情况,站点B能正常下载123.xls,站点A下载时却提示错误: System.UnauthorizedAccessException: 对路径“E:

VMware安装报VT-x未开启的解决办法

场景说明:用虚拟机安装64位CentOS 6.5,然后出错,如下: Thishost supports Intel VT-x, but Intel VT-x is disabled. IntelVT-x might be disabled if it has been disabled in the BIOS/firmware settings orthe host has not been power-cycled since changing this setting. (1)Verify 

echarts2.0.2单文件引入,不能require的解决办法

起因是我在画y轴的标题时,不能显示上标,米<sup>3</sup>  会显示   米3 ! 问过林峰,他说这是基于canvas,不是基于svg或html,所以不能处理这个.然后就想用zrender画出这个字.我只需要解决上标的问题就够了! 然后看了文档,说是引入单文件的js后,可以直接使用两个全局的命名空间:echarts,zrender,其它需要require引入 .zrender.tool.color = require('zrender/tool/color')  .其它就是