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

由网友(cokě楽+栤)分享简介:我已经建立并运行一对夫妇的Andr​​oid模拟器的,现在我想在其上安装的应用程序。下面是我想这几次的故事:I have created and ran a couple of android emulators, now I'd like to install application on them. Here i...

我已经建立并运行一对夫妇的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

阅读全文

相关推荐

最新文章