"App not installed as package appears to be invalid" means Android refused the APK file itself, before the app ever ran. The most common causes are a damaged or incomplete download, a base APK installed without its split APKs, a signature that doesn't match a copy already on the phone, and an app built for a different CPU or Android version. The fix depends on the cause, and the quickest way to find it is to get the real error code.
What the message actually means
Android's package installer shows short, friendly messages, and several different problems end up with the same words. "Package appears to be invalid" is the catch-all for "the installer couldn't accept this file". Behind it, Android has a precise error code for each problem, such as INSTALL_FAILED_MISSING_SPLIT or INSTALL_FAILED_UPDATE_INCOMPATIBLE.
The exact wording also varies by phone maker and Android version. You may see "App not installed", "App not installed as package conflicts with an existing package", "App isn't compatible with your phone" or "There was a problem parsing the package". They all come from the same small set of causes, covered below.
Get the real error first
Guessing wastes time. Two ways to see what Android really objected to:
With a computer (most precise). Install the file with adb, Google's command-line tool for Android. It prints the exact error code:
adb install app.apk
Performing Streamed Install
adb: failed to install app.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: ...]
You'll need USB debugging turned on and Google's SDK Platform Tools on the computer. Our guide to adb install xapk walks through the setup.
Without a computer. Check the file itself. See who signed the file, and run the APK through the APK analyzer to see its min and target SDK, CPU types and whether it's a split app's base. Between them, they catch most of the causes in the table below.
Error codes, causes and fixes
Every code below is defined in Android's source (PackageManager), with the meaning Android gives it.
| Error code | What Android says it means | Usual cause | Fix |
|---|---|---|---|
| INSTALL_FAILED_MISSING_SPLIT | The package requires at least one split that wasn't provided | You installed a base APK without its split APKs | Install all parts together, or merge them into one APK |
| INSTALL_FAILED_UPDATE_INCOMPATIBLE | An installed package of the same name has a different signature | The app is already installed, signed by someone else | Uninstall the existing app, or get a copy with the same signature |
| INSTALL_FAILED_VERSION_DOWNGRADE | The new package has an older version code than the installed one | You're installing an older version over a newer one | Uninstall the newer version first |
| INSTALL_FAILED_NO_MATCHING_ABIS | The app's native code doesn't match any CPU type the phone supports | Wrong CPU split, or an x86 build on an ARM phone | Get the build for your phone's CPU |
| INSTALL_FAILED_OLDER_SDK | The phone's Android is older than the app requires | The app's minimum Android is newer than your phone's | Find an older version of the app, or a newer phone |
| INSTALL_FAILED_DEPRECATED_SDK_VERSION | The app targets a deprecated Android version | Android 14 or later, with an app that targets Android 5.1 or older | Find a newer version of the app |
| INSTALL_FAILED_INVALID_APK | The package archive file is invalid | Damaged download, or a split set with a problem | Download again, check the file |
| INSTALL_PARSE_FAILED_NOT_APK | Not an APK file | An XAPK, APKM or ZIP renamed to .apk | Convert or unpack it properly |
| INSTALL_PARSE_FAILED_NO_CERTIFICATES | No valid signature found | The APK isn't signed, or was changed after signing | Sign the APK |
| INSTALL_FAILED_INSUFFICIENT_STORAGE | Not enough storage space to install | Full phone storage | Free up space |
| INSTALL_FAILED_CONFLICTING_PROVIDER | Another installed app uses the same content provider | A modified copy or clone of an installed app | Uninstall the other app |
| INSTALL_FAILED_DUPLICATE_PERMISSION | Another app already defines the same permission | Same as above | Uninstall the other app |
| INSTALL_FAILED_TEST_ONLY | The app is marked test-only | A debug build from a developer | Ask for a release build, or use adb install -t |
| INSTALL_FAILED_USER_RESTRICTED | The user isn't allowed to install apps | Work profile, parental controls or device policy | Ask the device admin |
| INSTALL_FAILED_VERIFICATION_FAILURE | Package verification didn't succeed | A verifier, such as Play Protect, blocked it | See the Play Protect section below |
The sections below cover the causes you're most likely to hit, in order of how often they come up with files from download sites.
Cause 1: you installed only the base APK of a split app
This is the top cause when the file came from an XAPK, APKM or APKS package. Most apps on Google Play are now delivered as split APKs: a base APK plus small parts for your CPU type, screen density and languages. If you unzip the package and tap base.apk, Android sees a base that's missing its splits.
Here's how to spot it. The base APK of our test app, com.example.splittest, has this line in its manifest:
android:requiredSplitTypes="base__abi,base__density"
That tells Android the app needs a CPU split and a screen-density split. Android's documentation says that from Android 13, the platform rejects an app that's missing any required split types. That's INSTALL_FAILED_MISSING_SPLIT, which many phones show as "package appears to be invalid". On older Android versions, a base APK sometimes installs and then crashes on launch, because its native code or images live in the splits.
Fix: install every part in one session, with an installer app or from a computer, or merge them into one APK with our converter. Merging writes the missing parts into the base and removes the "splits required" lines from the manifest. Our guide compares the install routes.
Cause 2: the signature doesn't match the installed app
Android only lets one app replace another if both are signed by the same key. If the app is already on your phone, from Google Play for example, and your APK is signed by someone else, the install fails with INSTALL_FAILED_UPDATE_INCOMPATIBLE. Some phones say "App not installed as package conflicts with an existing package". Others just say the package appears to be invalid.
This happens a lot with converted APKs. When split APKs are merged, the result has to be signed again with a new key, because the developer's key isn't available to anyone else. We checked this with our test app:
| APK | Signer | SHA-256 fingerprint starts | Can update the original? |
|---|---|---|---|
| base.apk from the original XAPK | CN=Ref (the developer's test key) | F1:2D:7E:72 | Yes (it is the original) |
| Merged APK, signed again with the same developer key | CN=Ref | F1:2D:7E:72 | Yes, fingerprints match |
| Merged APK from our converter | CN=XAPK to APK converter user | Different | No: INSTALL_FAILED_UPDATE_INCOMPATIBLE |
Fix: compare the two signers with the signature checker. If they differ, you have two choices. Uninstall the existing app first, which deletes its data, then install yours. Or install a copy signed by the original developer, which keeps your data and updates working.
Cause 3: the file is incomplete or damaged
A download that stopped early, a file copied from a USB drive that was pulled out, or a cloud service that "optimized" the file can all leave a broken ZIP. Android can't read it and reports it as invalid.
Signs of a broken file: it's smaller than the size the site listed, archive tools say it's corrupt, or our tools can't read its file list.
Fix: download it again, preferably on a stable connection and straight to the phone or computer that'll use it. If the site publishes a checksum, compare it. Don't rename files to change their type: an XAPK renamed to .apk is still a ZIP of APKs, and Android rejects it as "not an APK".
Cause 4: your phone isn't supported
Every app sets a minimum Android version, and apps with native code only include certain CPU types. If yours isn't covered, Android refuses the install.
- Android too old: INSTALL_FAILED_OLDER_SDK. The analyzer shows the app's minimum as an Android version, such as "Android 6.0 (API 23)".
- CPU type not included: INSTALL_FAILED_NO_MATCHING_ABIS. Most phones are arm64-v8a. Some older or cheaper ones are armeabi-v7a only, and emulators on PCs are often x86_64. When we checked a version of our test app built for x86_64 only against an arm64 phone's CPU list, it failed this check, and that's the error Android gives.
Fix: use the version of the app made for your phone. With a split app, make sure the package includes a split for your CPU type, then install the parts together or merge them.
Cause 5: Android 14 and later block old apps
From Android 14, the system refuses to install apps that target Android 5.1 (API level 22) or older, with INSTALL_FAILED_DEPRECATED_SDK_VERSION. Google added this because old target versions skip newer security rules. It's set by the app's developer, so converting or re-signing doesn't change it.
Fix: look for a newer release of the app. The analyzer shows the target version, so you can check before downloading something big. Developers can test old builds with adb install --bypass-low-target-sdk-block, but that's for testing, not everyday use.
Cause 6: the APK isn't signed, or was changed after signing
Android won't install an APK with no signature, or with a signature that no longer matches the files. That happens when someone edits an APK and zips it back up, or runs zipalign after signing. zipalign moves file data around, which breaks the newer v2 and v3 signatures.
Fix: align first, then sign. The APK signer does both in the right order, and can add v1, v2 and v3 signatures based on the Android versions the app supports. Bear in mind that a newly signed APK has your signature, so cause 2 applies if the original app is installed.
Cause 7: downgrades, storage, Play Protect and restrictions
A few more causes round out the list:
- Installing an older version. Android refuses an APK with a lower version code than the installed one. Uninstall the newer version first, or use the store's own rollback if it has one.
- Not enough space. Apps need room for the APK and for the files they unpack. Clear space and try again.
- Play Protect blocked it. Google Play Protect scans apps from outside the Play Store and can block ones it considers harmful. If it does, take that seriously, and check where the file came from. Only turn off a warning if you're sure the app is genuine.
- Device restrictions. On a work profile, a school phone or a phone with parental controls, the administrator may block installs from outside a store.
- Developer verification. Since September 30, 2026, participating app stores in Brazil, Indonesia, Singapore and Thailand only install apps from registered developers, on certified phones. Google plans to expand this worldwide in 2027. Installs over ADB don't need verification.
When an XAPK install fails
If you're using an installer app or a computer to install an XAPK, a few extra problems can show up:
- A split is missing from the package. The manifest.json lists a part that isn't in the archive, or the package doesn't include your CPU type. Open the XAPK and check its file list.
- Parts from different versions. Every split must have the same version code and signature as the base. A package assembled from two downloads won't install.
- The installer lacks permission. The installer app needs "Install unknown apps" turned on in Settings.
- The OBB is in the wrong place. That isn't an install error, but the game installs, then asks to download its data again. The OBB belongs in
Android/obb/<package name>/.
If you built the APK yourself
Developers sharing test builds hit the same message for their own reasons. Before sending an APK to testers, check these:
- Sign it with a release or upload key, not nothing. An unsigned build fails with INSTALL_PARSE_FAILED_NO_CERTIFICATES. Debug builds from Android Studio are signed with a debug key, which works for testing but can't update a release-signed copy.
- Run zipalign before apksigner, never after. Running zipalign on a signed APK breaks the v2 and v3 signatures.
apksigner verify --verbose app.apkconfirms the result. - Watch the testOnly flag. Builds run straight from Android Studio can be marked test-only, which a normal install refuses. Build a proper APK from the Build menu instead.
- Check your ABI filters. If the build only includes arm64-v8a, emulators on x86_64 and older 32-bit phones will fail with INSTALL_FAILED_NO_MATCHING_ABIS.
- Raise the version code. Testers with a newer build installed can't install a lower version code.
- Don't hand out a base APK from an App Bundle. If you only have an .aab, build a universal APK from it with bundletool's universal mode or our AAB to APK converter. Either gives one APK that installs on its own.
- Keep targetSdkVersion current. Android 14 and later reject apps that target API 22 or lower, and Google Play sets its own, higher minimum for new uploads.
adb install gives you the exact code, and adb logcat shows the package manager's longer explanation right after the failure.
How to avoid the error next time
A few habits prevent most of these failures:
- Check the app's minimum Android version and CPU types before you download a big file.
- Download packages, not loose APKs, for split apps, and install them as a set.
- Stick to one source for each app, so updates keep the same signature.
- Keep the original file until the app runs, so you can try another route without downloading again.
If you're unsure whether a file is safe to install at all, read our guide: is xapk safe.
App not installed as package appears to be invalid FAQ
How do I fix app not installed as the package is invalid?
Find the cause first. Install with adb to see the error code, or check the APK's signature and Android range. Then install all split parts together, uninstall a copy signed by someone else, or download the file again.
Why does my APK keep saying app not installed?
Usually because the same app is already on the phone with a different signature, or because the APK is a split app's base without its splits. Damaged downloads and apps made for a different CPU or Android version are the next most common causes.
What does package appears to be invalid mean?
It means Android's installer rejected the file before installing it. The file may be damaged, unsigned, not really an APK, missing required parts, or not meant for your phone. Android logs a precise error code for each case.
Can I install an APK over the Play Store version?
Only if it's signed with the same key as the Play Store version. APKs from the developer's own site often are. Converted or modified APKs aren't, so you'd have to uninstall the Play Store version first.
Is this error caused by a virus?
No. The message is about the file's format, signature or compatibility, not about malware. A file that installs fine can still be harmful, though, so check where it came from.