"There was a problem parsing the package" means Android could not read the APK file you tried to install. Before installing, Android opens the file to check which app it is and which Android version it needs. If that check fails, you see this message and nothing is installed.
In almost every case, one of three things is wrong: the file did not download completely, the app needs a newer version of Android than your phone has, or the file is not a single installable APK.
If you are installing an app
1. Download the file again
A download that stopped early or was interrupted leaves a broken file that Android cannot read. Delete the file, download it again on a stable connection, and open it only after the download has finished. Open it from your browser's downloads or the Files app, not from a preview inside a chat app.
2. Check your Android version
Every app sets the oldest Android version it runs on. If your phone is older than that, Android cannot install it. To see your version, open Settings > About phone and look for Android version (the menu names vary by phone maker). If your version is too old, ask the developer for a build that supports it, or update your phone if an update is available.
3. Check that the file is an APK
Android installs single files that end in .apk. Files that end in .aab, .apks or .xapk are bundles of several parts, and the installer cannot open them directly. Ask the developer for an APK file instead.
Note: on Android 8 and later, the app you open the file from (your browser or the Files app) needs permission to install apps. Android asks the first time. If you denied it, go to Settings > Apps, pick that app, and turn on Install unknown apps.
If you built the APK
If testers report this error for an APK you built, check these first:
Minimum Android version. Compare the app's
minSdkVersionwith the Android version on the tester's device.A complete APK, not a split. Share one universal APK. If your build produces an Android App Bundle, generate a universal APK from it with bundletool (
build-apks --mode=universal).No changes after signing. Any change to the file after it was signed, such as re-zipping it or editing its contents, can stop it from installing.
The exact error. Install the file over USB with
adb install app.apk. It prints an error code (for example one that starts withINSTALL_PARSE_FAILED) that is more specific than the message on the phone.
Installing a build shared through TestApp.io
If a developer sent you a TestApp.io install link, open the link on your Android phone and install from there. If you see this error, download it again from the link first, then check your Android version against the one the developer supports. If it still fails, tell the developer: they can check the release and upload a new APK.
TestApp.io shares Android builds as APK files, so a bundle file is not the cause there. Developers can read whether .aab files are supported and Troubleshooting App Installation for other install problems.
The same error in other languages
Your phone shows this message in its own language. These all mean the same thing, and the steps above apply:
Portuguese: Ocorreu um problema ao analisar o pacote
Indonesian: Terjadi masalah saat mengurai paket / Ada masalah saat mengurai paket
Vietnamese: Đã xảy ra sự cố khi phân tích cú pháp gói
Thai: พบปัญหาในการแยกวิเคราะห์แพ็กเกจ
Bengali: প্যাকেজ পার্স করার সময় একটি সমস্যা হয়েছে
Marathi: पॅकेज पार्स करताना समस्या आली
Related Articles
Need help? Contact us. We're happy to assist!