This error occurred while running the Android program:
Failed to install homework.apk on device ' emulator-5554 ': EOF
Java.io.IOException:EOF
Find information online, the problem is the ADB, probably because
Solution:
One: Open cmd command prompt, execute adb kill-server first, then execute ADB start-server
Two: 1. Cleanup project, Project->clean
2. Right-click the project browser and close the project, then close Eclipse, then reopen
3. Clean up the project again
4. Restart the AVD
5. Delete AVD, openSave AVD Android SDK FolderInOfFolder,And thenDeleteAnyHas AVD'sName (AFilePlusOnefolder). You may have to restart your computer to have it removed . Create a new AVD.
Solution Reference Address: http://stackoverflow.com/questions/6376722/failed-to-install-apk-on-device-emulator-5554-eof
Android Development Failed to install *.apk on device ' emulator-5554 ': EOF