I have been working on an application which is running fine on emulators but not on some devices. I have been testing the application on HTC Desire with OS 2.2 and Samsung Galaxy S with 2.2 and application just runs fine.
Then i had to test the application on Google Nexus phone with OS 4.0.2 to check its comaptibility with latest android OSs, the app does not run. Splash screen starts and then app crashes. This is un-understandable. I have set
minSDKVersion to 7 in android manifest
Which means that app should run all later OS version from 2.1 onward. I also got problems running application on 4.0.2 and 4.0.3 emulators but I somehow managed to run it on them but not on device Google Nexus.
This is the Error i received:
[2012-01-06 17:08:21 - my-app] Failed to install my-app.apk on device 'emulator-5556': EOF
[2012-01-06 17:08:21 - my-app] java.io.IOException: EOF
[2012-01-06 17:08:21 - my-app] Launch canceled!
On emulator for OS 4.x had to increase adb connection timeout and then restarting eclipse worked for me. But what can i do on device..???
Another point to be noted is that this happens only when I try to run the application on 4.x. I haven't used 3.x OS versions. There is no problem running the app in 2.x OS versions. Any Suggestions and help is always apprciated...????