문제

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!

도움이 되었습니까?

해결책

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.

다른 팁

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...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top