Getting protocol failure error while installing ap

2019-04-21 00:45发布

I am trying to install an apk on api level 17 emulator using adb command.

adb install Test apk

I am getting following error in response

protocol failure
rm failed for /data/local/tmp/Test.apk, No such file or directory

Anyone know how to handle this error?

标签: android adb
4条回答
\"骚年 ilove
2楼-- · 2019-04-21 00:55

In my situation, eclipse was opened with ADT installed, so when I closed eclipse, the problem was gone.

查看更多
我命由我不由天
3楼-- · 2019-04-21 00:57

You may get some troubles if you have introduced sharedUserId in an update of the existing app. Check this Blog for more information.

查看更多
姐就是有狂的资本
4楼-- · 2019-04-21 01:07

Try this. Navigate to Settings -> Application settings (location may depend on your device). Here, check Install from unknown sources. Hope it will help.

查看更多
戒情不戒烟
5楼-- · 2019-04-21 01:11

I found out that in my workplace the people who were facing this problem have only read permission on their computer USB port has and not write permission. After getting USB write permission from admin the problem is no longer occurring.

查看更多
登录 后发表回答