Parsing failed. Android package parsing failed, what should I do? How to fix the problem

In the operating room Android system There are a large number of errors and shortcomings that can only be corrected over time. While the developers themselves get to this point, users have to come up with their own solutions for each problem. One of the common errors on Android to this day is the error when installing applications, when instead of installation, the message “Syntax error” appears on your screen. What it is? Why does it occur? How to fix? Unclear! And here we will reveal all the secrets to you!

From the article you will learn

Reasons for appearance

This problem mainly appears with programs that are not installed through the official Google service Play, and from third-party sources and are downloaded as separate apk file s. In the service, the system automatically checks every file downloaded to the device, and can warn the user in advance that the application is not suitable for his phone. In this case, downloading the program or game to the smartphone will not be available at all.

Here are the main reasons why an error occurs when parsing a package:

  1. The file you are trying to download is not fully downloaded;
  2. The phone has a ban on installing applications from unknown sources;
  3. The application version does not match the version operating system.

In all cases the problem can be solved different ways, about which we'll talk further.

First you need to determine what the problem is and why this or that apk file is not installed. To do this, we carry out all the steps step by step, starting with the simplest ones.

Allow installation from unknown sources

By default, in the Android operating system, installation from unknown sources is prohibited so that the user cannot harm his smartphone. The fact is that third-party applications and games may contain viruses, Trojans and other malicious codes.

You need to allow installation of such applications.

Attention! The actions described above may harm your device. We recommend downloading apk only from trusted sites and be sure to check each file through an antivirus on your computer, for example, Kaspersky.

It’s even better to upload the apk to the Virustotal website. It allows you to scan 50 popular antiviruses at once.

And so, now we check whether the syntax error has disappeared or not. No? Then let's move on!

Try downloading the file from other sources or use another downloader to download data from the Internet. Since apk applications are, in fact, a type of archive, sometimes they do not load completely, which is why problems arise.

If the same problem occurs after downloading applications from other sources, move on to the next step.

Checking the application version

Each apk file, like applications in Google Play, there is a minimum version of the operating system, in the presence of which the installation will be carried out. If the Android version is lower than the recommended version of the apk being installed, then it is quite clear why a syntax error occurs.

There are 3 ways to solve this problem:

  1. Find the version of the program that will match the version of your Android;
  2. Update the OS on the device to the maximum version corresponding to the application;
  3. Artificially change version requirements through a special tool.

I think that in the first two options everything is clear. We will specifically consider the third option using separate program, which will allow us to change the required version of the operating system and install the apk file correctly. This is mainly suitable for those users who have an older version of the OS installed.

Editing a file with APK Editor

APK Editor is required to work. It comes in two versions. We need the Pro version, since it is in it that the function of editing the parameters we need is activated. Cost per this moment is 159 rubles. It's a small price to pay for such a great package of tools.

APK Editor Pro is a versatile and powerful apk file editor. Allows you not only to change the minimum versions for applications, but also:

  • remove unnecessary advertisements;
  • change image backgrounds, layouts, resolution;
  • Russify the interface and menu items;
  • change text;
  • add some of your own buttons and tabs.

Simple operations do not require special skills, but complex application modification requires professional skills in working with similar tools and knowledge of application architecture for our OS.

Procedure:

  1. Go to Google Play and download the Pro version on your smartphone. Open the program.
  2. Next, click on the “Select apk file” tab and specify the path to the application that is not installed on your smartphone.
  3. Click on this file and hold your finger for a few seconds until it appears context menu. In it, select “Edit resources”. Attention! The error “Unable to parse apk file” may appear here. This is normal and does not affect our procedure. Simply ignore this alert.
  4. You will see a large number of lines and signatures on English language, but you need to click on the “Manifest” tab, which is located in the lower right corner of the screen.
  5. Wait for the system to download all the files. A large list of strings and various parameters will appear.
  6. You need to find the parameter “uses-sdk android:minSdkVersion”. It can be either at the beginning of the list or in the middle. But it usually occurs at the beginning. Click on it to bring up the editing menu. Two tabs will appear here, in which a two-digit number will be written. This number indicates the minimum version of the Android operating system that the phone will work with.

Below we have provided a table so that you can understand exactly what values ​​you need to change these parameters to.

Operating system versionCode (API)Version code (OS name)
Android 5.122 LOLLIPOP_MR1
Android 5.021 LOLLIPOP
Android 4.4W20 KITKAT_WATCH
Android 4.419 KITKAT
Android 4.318 JELLY_BEAN_MR2
Android 4.2, 4.2.217 JELLY_BEAN_MR1
Android 4.1, 4.1.116 JELLY_BEAN
Android 4.0.3, 4.0.415 ICE_CREAM_SANDWICH_MR1
Android 4.0, 4.0.1, 4.0.214 ICE_CREAM_SANDWICH
Android 3.213 HONEYCOMB_MR2
Android 3.1.x12 HONEYCOMB_MR1
Android 3.0.x11 HONEYCOMB
Android 2.3.4 Android 2.3.310 GINGERBREAD_MR1
Android 2.3.2 Android 2.3.1 Android 2.39 GINGERBREAD

How to use this table? For example, your smartphone has operating system 4.2.2 installed, and the application you are downloading requires a minimum Android version of 5.0. In order for the apk file to be successfully installed on your smartphone, you need to change the parameters in the editor to 17 in both lines. And this way you can adapt any application to any version of the operating system. But keep in mind that no one guarantees stable operation on very old Androids!

Changed the values? Great! Now click the “Save” button, after which the system will redirect back to the screen with other lines and parameters. Here in the upper right corner you need to click on the “Save” tab again and wait until the system rebuilds the file and saves it.

The file assembly process directly depends on the amount of information stored in it. The more the apk file weighs, the longer it will take the program to compile the application, so wait until the end and don’t think that the phone is frozen!

At the end, a notification will appear indicating that the apk file has been saved, and next to it will be full path this application. You can try to install it from the same menu, since there will be an “Install” tab, or you can go through the file manager to the save folder and try to install the application from there. If you did everything correctly, the installation will be successful.

Attention! The file is saved as a duplicate of your apk, so don't confuse them! The old file will still produce a syntax error, so you need to install a new one created in APK program Editor Pro.

Additional solutions to the problem

There are several more methods that provide the ability to install an application or game from an apk if all of the above methods fail to solve the problem.

  1. Enable USB debugging. In some cases, this approach can solve the problem, but it is not a panacea, and the chance is not particularly great. To enable this option, you need to go to the “Settings” of your device and click on the “About phone” tab. Scroll down the bar until you find Build Number. Click on it 7 times to activate developer mode. Now go back to “Settings” and scroll down again until you reach the “Developer Menu” item. In it, find the “USB Debugging” item and activate it.
  2. Disabling antiviruses. Sometimes installation is not carried out due to the antivirus that is installed on your smartphone. Sometimes the signatures provided by the antivirus are false, and the file is blocked for no reason. But these are isolated cases. If you are really sure that this apk file is safe, disable your antivirus and try installing the application.

Attention! Menu items in Android may differ, and in some versions “USB Debugging” may be located in other directories or tabs, called by other actions, but it is present in all versions of Android!

What other sources are silent about

One more little tip. If all the methods described do not help, most likely the problem is in the application itself that you are trying to install. Perhaps the developer “assembled” a file with broken files or made a mistake in the code, which is why such problems arise.

Be sure to search the Internet to see if any of the users managed to install this program on their smartphone or not. Most likely, there are many of you!

Conclusion

We have listed the main ways to resolve a syntax error on a smartphone running Android, and in 99% of cases one of them will definitely help solve the problem. But at the same time, we advise you to download applications only from Google Play or on sites that have a good reputation (you can understand it from user reviews).

If the problem is still not resolved, write in the comments your phone model, Android version and the name of the application that you decided to install!

The popularity of Android is largely due to its open source code operating system, which opens up almost limitless possibilities for developers. Due to these properties of the OS, users encounter various errors. One of the most common is “Package parsing failed.” Most often it occurs when you try to install inappropriate software or a damaged file. Let's look at the reasons and solutions in more detail.

Method for solving the “Package parsing failed” error on Android.

The error is very popular and usually means an attempt to download on Android from the Google Play Store. There are quite a few reasons for the pop-up message to appear, as well as ways to solve the problem. Here are the most common of them:

  • The error may be caused by corruption of the manifest files during a cloud update of the OS or custom software.
  • The APK file may become corrupted due to incorrect or incomplete downloading.
  • Downloading and installing programs from unknown sources requires appropriate permission. Without such permission, the chances of a package failure increases.
  • Some applications are not compatible or supported in the latest and updated versions of Android.
  • Antivirus and other cleaning applications are also the main cause of the error.

But the reasons described do not depend on the application. A data parsing error may occur due to one or more of them. But it's more important to get rid of the problem.

How to fix the problem

What should I do if I receive the error “Packet parsing failed”? Before attempting to troubleshoot a problem with package parsing, it is advisable to do backup copy to minimize the risk of data loss. Fixing any Android problem may result in the loss of your personal documents and files. Today there are many software products, allowing you to back up data from your phone. Let's look at the procedure using the example of the dr.fone - Android Backup & Restore program. Main features and benefits of the application:

  • Selectively back up only the most important files from your Android devices.
  • Download backups from your iCloud account and selectively extract data from them.
  • All your data will be transmitted securely without the risk of being damaged or erased.
  • fone can control text messages, photos and videos, contacts, applications and many other types of data.
  • Preview of backed up or restored data.

Once you back up your Android device, you no longer have to worry about losing data. If, when trying to fix a package parsing error, you lose the data saved on your gadget, just run dr.fone – Backup & Restore, and restore the backup to your device.

How to backup Android:

  1. Download and install dr.fone – Backup & Restore on your computer. This can be done from the developer's website.
  2. Connect your Android device using a USB cable to your PC and launch dr.fone.
  3. Click " Backup and Recovery" from the main menu and select "Backup".
  4. In the window that opens, select the type of data you want to save.
  5. Click "Backup" and the operation will be completed in a couple of minutes.

In just a few minutes of your time, you can ensure the safety of your smartphone’s personal data.

Use an old version of the application

you can use old version applications as they may be compatible with the device. In many cases, newer versions of apps are not compatible with older versions of the Android OS. Therefore, it is better to download any old version of the program. Usually this can be done on the official website of the developer, at Play Market or on large programming forums.

Installing an application from sources other than the Google Play store is disabled by default. To resolve this issue, enable "Allow app installation from other sources." Here's what to do:

  • Now check the box that allows installation of applications from unknown sources.

For many people, USB debugging is not necessary, although it provides access to some additional functions, capabilities and gadget settings that are not available to the average user. To enable USB debugging to fix the "Packet parse failed" error, follow these steps:

  • Go to Settings and select About Device.
  • Now click on Build Number seven times continuously.
  • When you see a pop-up that says “You are now a developer,” go back to Settings.
  • In this step, select "For Developers" and enable "USB Debugging".

This should solve the problem. If not, move on to other methods.

Check the APK file

Incomplete and incorrect installation of the application may damage the .apk file. Make sure you have downloaded the entire file. If necessary, delete the existing application or its .apk file and reinstall the software from the Google Play Store. This is necessary so that it is compatible with your device's software.

Use file managers

Some devices display a "Package parsing failed" message when installing apps to the SD card. Usage file managers, such as AndExplorer or Root Explorer, or installing the correct and appropriate APK files should also solve this problem.

Check your application manifest file

Adjustments to .apk files may result in a parsing error. Changes to the application file can be made by changing its name, program settings, or more complex configurations. To prevent corruption of the application file, make sure you roll back all changes and restore it to its original state.

Disable antivirus and other cleaning applications

Antivirus software and other cleaning apps are very useful to protect your device from being damaged by malicious utilities. However, sometimes such programs also prevent the use of other secure applications. There is no need to permanently remove the antivirus; just disable it during installation. For this:

  • Go to Settings and select Applications.
  • Select your antivirus application, click Uninstall, and then click OK.

Now download and install again the right application. Once this is done, don't forget to install your antivirus again.

Delete Play Store cache and cookies

Clearing the Play Store cache significantly relieves the load on the Android Market platform by removing all unnecessary data. To clear Play Store cache, follow the instructions below:

  • Launch Google Play Store.
  • Go to "Settings".
  • Select " General settings", then "Clear history"/"All time".

Cache, cookies and others unnecessary files Play Market will be removed and the problem should go away.

Clean up corrupted package installer data

The package manager is an application inside the Android OS that installs external apk files. This package manager typically stores no more than a few kilobytes of data, but sometimes this data can also become corrupted. To fix this, we will clear its data in the cache.


Reboot your device.

Check compatibility between application and OS versions

If the package parsing error still persists, then you need to make sure that the app you are trying to install is actually compatible with the version of Android on your device. This is quite easy to do:

  • Open the Play Store and go to the page of the app you are trying to install.
  • Scroll down to the ADDITIONAL INFORMATION section and look for the line "Required Android version" This tells you which version of Android is required for this app. If this version does not match the version of Android you are using on your device, the application will not install or run.

There is no technical way to fix this, but you can try contacting the developer for further assistance from the Developer section in ADDITIONAL INFORMATION. You can also see if there is alternative programs with similar features in the Play Store.

Transferring data from your device

Unfortunately, there is a small chance that none of these fixes will fix the problem. This usually means that Hardware device is faulty. In this case, you need to contact a service center, where a specialist can assess the problem and identify the malfunction. If this is the case, then you will have to transfer the data from your smartphone. Let's look at the procedure using the example of using the function Transfer programs dr.fone.

Functions and capabilities of the Transfer team:

  • Transfer iTunes media files to Android device.
  • Extract data from an Android or iOS device and add it to your iTunes library.
  • Manage all your data (photos, videos, music, contacts, apps, etc.).
  • View and Extract certain files from your device's storage.
  • Uninstall multiple apps at once, including third-party and pre-installed apps.
  • Browse all files using the Explorer function.

How to extract data from Android:

  1. Install and launch dr.fone.
  2. Connect your Android device and select “Transfer” from the main menu of the program.
  3. In the navigation bar at the top of the window, select the Photos tab.
  4. Use the sidebar to browse your photo albums and select the photos you want to save to your PC.
  5. Click the export icon above your photos and select "Export to PC."
  6. Finally, select a folder to export your photos. Repeat this process with other available data types (such as music, videos, contacts, etc.).

All you have to do is install dr.fone – Android Transfer, connect your device, mark the data you want to save and choose a save location. And you're done!

Factory reset Android

Factory reset Android settings should be the last method. Be sure to back up all your data to account Google or Pen Drive because this method deletes all media, content, data and other files including your device settings. To reset your device, follow these steps:

  • Go to "Settings".
  • Select "Backup & Reset".
  • In this step, select "Factory data reset" and then "Device reset" to confirm the factory reset.

The whole process of restoring an Android device to factory settings may seem tedious, risky and cumbersome, but it helps to fix Android SystemUI that stopped the error 9 out of 10 times. Therefore, think carefully before using this product.

All the recommendations described will not only help you get rid of the package parsing error in Android, but will also prevent its occurrence in the future. If you have already encountered a solution to this error in another way, please share with our readers in the comments below this article.

Let's now look at the reasons why the message “Package parsing failed during installation...” appears on Android and what to do in this case.

This article is suitable for all brands that produce phones on Android 10/9/8/7: Samsung, HTC, Lenovo, LG, Sony, ZTE, Huawei, Meizu, Fly, Alcatel, Xiaomi, Nokia and others. We are not responsible for your actions.

Attention! You can ask your question to a specialist at the end of the article.

“Package parsing failure” on Android gadgets is a common error. It can be solved by making a few taps in the device settings. Just download it official versions applications, activate the ability to install software from third-party sources and read carefully system requirements applications.

Causes of the problem

The error occurs when the user installs the software. “Failure to parse packages” on Android gadgets indicates what to unpack installed program impossible.

The main reasons for this problem:

  • The installation file does not meet the necessary requirements.
  • Not activated option for installation of third-party programs.
  • Poor quality application. The installation file may have been damaged when downloaded from the Internet or intentionally.
  • Incompatibility with Android version.
  • Lack of CPU power or RAM.

Now let's move on to considering ways to solve “Packet parsing failure”.

Allow installation of applications from third-party sources

This problem does not mean anything bad for users. The error that appears only means that it is impossible to continue the installation process.

This is not a system failure. The gadget continues to function correctly and is in working order.

First of all, we allow the device to install third party programs. This action will be the simplest, just visit the internal settings of the device and activate the required item.

Instructions:

  • Click “Settings”.
  • Go to the “Security” tab.
  • Place a checkmark next to the line “Unknown sources”.

In reality, this option should be automatically requested during the installation process.

Outdated version of Android

The cause of the error may be an outdated Android system or problems associated with the firmware installed on the device. You can execute to return the gadget to standard system parameters. On all devices, the process of resetting to factory settings deletes all information and multimedia files.

If the program is not supported by the version of Android installed on the gadget, then you need to update the device to a more recent version. Here you can install a custom or official version.

It might be worth trying to download a file that suits the requirements of your system. In other situations, you just need to understand that these applications are not suitable for your device.

Hacked games

If you download hacked games from different sites on the Internet, then no one will guarantee their normal operation. In this case, you need to come to terms with such problems during installation.

Very often downloaded hacked games and applications are of low quality, so they simply are not installed on the device. To avoid errors, use only official versions of software from Google Play for installation.

If a failure occurs when installing downloaded software from Google Play, follow these steps with the program from this store:

  • Delete the cache.
  • Uninstall updates.
  • Restart Play Market.

In some situations, such actions effectively solve the problem.

Phones and tablets running the Android operating system often produce errors when performing any action. Because of this, the device becomes either completely useless or performs only part of the required tasks. But you shouldn’t immediately take your phone to a service center; many errors can be corrected very easily, their solution is feasible to the average user, without special education, and does not incur any monetary costs. For example, to fix an error when parsing an Android package, just use the instructions below.

What is an "error parsing the Android package"

Before you begin to solve a problem, you need to know what it is. Error parsing the package - a problem when installing the program. If during installation of the application the device for some reason cannot continue this process, it will automatically display this message and stop the installation. It will look like this:

Causes of the problem

There are only a few reasons why something could go wrong when installing the application:

  • The version of Android for which the program you are installing was written does not match the version of Android installed on your phone. For example, you have a phone with operating system version 3.0, and the program was written for version 4.0.3. If the version of your Android is higher than the version for which the application was written, no error will occur.
  • At the time of installation, the application was not fully downloaded or was downloaded with an error in the installation apk file.
  • There are viruses on the phone that interfere with the installation process.
  • Elimination

    The solution to the problem will depend on the reason why it appeared.

    Difference in firmware versions

    Let's start with the case when the firmware version of your phone is lower than the version for which the program was written. To make sure this is the problem, first look at what version of Android you have.

  • Scroll down and go to the “About phone” item.
  • Click on the “Device Information” item.
  • Here is the item “OC Android Version”, which contains the numbers we need.
  • Now on the website from which you downloaded the application, look for the words “Required version of Android”. It usually looks like this:

    If you need a version higher than what you have, try to find the same application for your other firmware version or update your phone. To update, follow these steps:

  • Open the phone settings.
  • Go to the “About phone” item.
  • Click the “System Update” button. If your phone model supports more than new version, then it will be found and installed automatically.
  • Problems with the installation file

    A syntax error may occur if the file is damaged during downloading or unpacking. Perhaps it was written with an error in the code initially. In this case, one solution is to download the file again or from another source. If the situation persists, try changing the browser or downloader you are using.

    Errors occurring due to viruses

    If the previous methods did not help, you should think about the presence of viruses on your phone. This is very easy to check:

  • Go to Play Market and search free application"Antivirus Dr. Web Light".
  • Install and open it.
  • Click the Scanner button.
  • Click the Full Scan button.
  • If the antivirus detects a virus, delete them and continue using the phone. If you have tried all the methods and none of them solved the error, then there is only one thing left to do - take the device to a service center to have it checked by specialists.

    Video tutorial: How to fix packet parsing syntax error on Android

    A syntax error may occur due to incompatibility of the phone version with the one for which the program was written, due to damage to the installation file or viruses in the phone. Each reason has its own solution that will help get rid of problems, but sometimes it’s still worth using the services of a specialist from the service.

    Android has the best features among mobile OSes today, but there are times when even such a perfect system fails. If we exclude the human factor, then many software errors remain, such as "Data parsing error: Packet parsing failed". This is a rather unpleasant problem that appears when installing various software. Let's look at everything in more detail.

    Reasons for this failure

    A package parsing failure in Android itself indicates the impossibility of unpacking the application being installed. By various reasons The installation file no longer meets the required requirements. Sometimes the reason for this is that the installation option is simply not open. third party application, because in new versions of Android there is such an item. Another source of conflict may come from a low-quality utility that was damaged intentionally or during downloading from the Internet. The last option is incompatibility with the operating system.

    Fixing the error “Package parsing failed”

    Fortunately, there is nothing terrible here for users. The error that occurs only indicates the impossibility of continuing the installation process, and not a system failure. In general, everything continues to work as it should on the phone. It is in fully working order.


    1. If the error crashes when installing from Google Play, then clear all possible reasons: Delete the update, cache and restart the Play Store. Sometimes this also becomes a cause of conflict.

    Finally, it’s worth saying that “Data parsing error: Package parsing failed” in 90% of cases occurs due to the incompatibility of the installed software, which means everything is fine with the phone. Don't rush to repair your smartphone, just change the source or version of the program.



    
    Top