Question

I have this strange error when installing apk on device, from Eclipse. The console gives error message: Failed to install, but in fact the file is installed.

Also, the application doesn't start after the installation, I have to do it manually.

I have done the this same procedure over and over again, without problems, but now the error occurs.

Thanks!

Was it helpful?

Solution

I've found that sometimes a device gets stuck in a strange state, and no matter what you do will give odd errors on install. Turning the device itself on and off again usually cures the problem.

OTHER TIPS

Does your ADB work normally when issued from command prompt? Try installing any apk manually using

adb install <filename.apk>

and see what is being returned. It may be an issue with the return from adb not being correctly recognized by eclipse. I'll also suggest changing the USB port to check if the same issue is occurring.

Try to remove the app on the device before installing the new apk...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top