Failed To Install Myapp.apk On Device 'emulator-5554'
I'm trying to run an android app but it's throwing these three lines in red. [2012-07-08 20:39:23 - myapp] Failed to install myapp.apk on device 'emulator-5554': An attempt was mad
Solution 1:
Try window->show view->devices->view menu->Reset adb and again run application.
Solution 2:
Two primary reasons for ADB's protocol error
are:
- Zombie ADB process (e.g.
adb.exe
in Windows's task-manager or justadb
in Linuxps -aux
) - Default ADB port (e.g. 5037, 5554, 5555 etc) being occupied by some other process(es).
For both of these issues, the easiest solution is to kill the zombie or the port-blocking process. I explained the steps for both Windows and Linux here: adb kill-server not responding?
You may also try launching ADB
with a non-default port. The steps are explained here: Changing default port (i.e. 5037) on which adb server runs
On Windows, I started getting this issue out of nowhere and was driving me nuts. I am happy that I could find the root of the issue. Hope this helps you too. Cheers!
Solution 3:
Was having the same issue, turns out was simply because I was using a USB extension cable. Removing that fixed it.
Post a Comment for "Failed To Install Myapp.apk On Device 'emulator-5554'"