Failed to install *.apk on device 'emulator-5554': EOF
I've ran into this problem many times. Try each of these steps after each step run the APK file if it doesn't work move to the next step:
- Run it again. (simply try rerunning it).
- Project->Clean (clean the project plus any projects that it relies on).
- Right click project in the package explorer then close it. Then close Eclipse. Then reopen both.
- Same as the previous step plus Project->Clean.
- Restart the AVD.
- Delete the AVD. Then go into the folder that holds the AVD in the Android-Sdk folder and delete anything with the AVD's name (a file plus a folder). You may have to restart your computer to get it to delete. Create a new AVD.
Run the next command:
adb kill-server
adb start-server
Is possible that drawn the next messages DeviceMonitor]Connection attempts: 1 DeviceMonitor]Connection attempts:2