App not installed as package appears to be invalid: 3 Simple Fixes

If you are an Android app developer using Android Studio, you may sometimes run into a wall when installing an app you are working on. One common error that props when installing an APK file is the one that says APK not installed package appears to be corrupt. App not installed as package appears to be invalid

In other words, the app does not get installed because the APK package appears to be corrupt. It is pretty self-explanatory. Where the app’s APK package is actually corrupt, it is likely that you downloaded it from a 3rd party source and not Google Play Store. There is always a security risk involved in downloading apps from random sites. Avoid it as much as possible and go download a copy from the Play Store.

However, it is not in all cases that the file is actually corrupt when you get that App not installed as package appears to be invalid error. In those cases, you can run a few tweaks to sort out the error.

Solutions to APK/app not installed package appears to be corrupt

Solutions to App not installed as package appears to be invalid error

There are a number of reasons why you may be getting this error. We look at the various solutions to the problem.

Solution 1

In Android Studio, go to Build > Build APK(s).

After creating the APK file, you will see a dialogue that tells you the file has been successfully. Click on locate and proceed to install it in your phone.

Solution 2

The error could be from you having downgraded the target SDK Version in the gradle app module file. For example, a downgrade from 24 to 22.

Just change the target SDK version to the current version and the APK file should install without giving you that error any more.

Fix for: app not installed as package appears to be invalid

Solution 3

Lastly, it is possible that you already have the app installed on the phone, but in “disabled” state. Just uninstall the disabled application and try installing your APK file again. The installation should run without an error.

One of the above fixes should resolve the App not installed as package appears to be invalid error that you have been getting. Post a comment to let us know.

Leave a comment