"亚行安装"返回错误:协议错误(没有状态) [英] "adb install" returns error: protocol fault (no status)

查看:173
本文介绍了"亚行安装"返回错误:协议错误(没有状态)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经建立并运行一对夫妇的Andr​​oid模拟器的,现在我想在其上安装的应用程序。下面是我想这几次的故事:

I have created and ran a couple of android emulators, now I'd like to install application on them. Here is the story of me trying it a couple of times:

$ adb -s emulator-5562 install xxx.apk 
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: protocol fault (no status)
- waiting for device -
^C
$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached 
emulator-5554   device
emulator-5556   device
emulator-5558   device
emulator-5560   device
emulator-5562   device
$ adb -s emulator-5562 install xxx.apk 
error: protocol fault (no status)
- waiting for device -
^C
$ killall adb
$ killall adb
adb: no process found
$ adb -s emulator-5562 install xxx.apk 
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
3748 KB/s (766384 bytes in 0.199s)
    pkg: /data/local/tmp/xxx.apk <- sometime it reaches upto here but it stays there for ever
^C

可以请你帮我我还有什么可以做,以检查问题? 谢谢

can you please help me what else I can do to check the problem? thank you

推荐答案

亚行安装将返回错误:协议错误(没有状态):

解决方案是

转到 \平台工具使用终端及以下的命令执行

Goto \platform-tools using Terminal and execute below commands

set ADB_TRACE=1
adb start-server


应用于从亚行的设备列表中删除模拟器:

打开Android虚拟设备管理器 - >选择模拟器您   要删除 - >点击删除按钮

Open "Android Virtual Device Manager" -> Select the Emulator which you want to delete -> click on Delete button.

见下图

See below Image

这篇关于&QUOT;亚行安装&QUOT;返回错误:协议错误(没有状态)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆