Issue
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
Solution
“adb install” returns error: protocol fault (no status) :
Solution is
Goto \platform-tools
using Terminal and execute below commands
set ADB_TRACE=1
adb start-server
To remove emulator from list of ADB Devices :
Open "Android Virtual Device Manager" -> Select the Emulator which you want to delete -> click on Delete button.
See below Image
Answered By - Pankaj Kumar
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.