简体   繁体   中英

Why am I getting “Installation failed due to invalid APK file!” when I run my app?

Does anyone know what to do about this error? I am getting this every time I try to run my application on my Samsung Galaxy S3.

Installation failed due to invalid APK file!

I am using the stock JB ROM. I've tried everything, and just can't get it to work.

Simple your apk file is invalid. Try to download a fresh file. Some times it happens when the file become corrupt. It may be due to many problems like latency of network when you are downloading the apk or lack of packet receiving due to problems in network. Try to download a fresh file again that will work. If that again doesn't work then the apk file available on server in not right.

可以在模拟器上运行apk吗?似乎apk文件本身可以解决问题。

If its (apk) prepared by you. Then you might have forgot signing the apk with your own keystore. Please refer Android developers guide for generating the keystore and signing the application.

好吧,我通过将s3从4.1.1更新到4.1.2解决了这个问题,可以立即正常工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM