Pages

Saturday, February 1, 2014

Android: A solution for solving the Error, "There is a problem parsing the package"

Parse error while installing your apk file to android device.
Error: There is a problem in parsing package

This error could be caused due to several reasons. I got a solution that rectified the above error.
These are following steps, In eclipse first open your Manifest file, AndroidManifest.xml under res tab.
Change the code below,
                            android:versionCode="1"
                            android:versionName="1.0"
 to
                            android:versionCode="2"
                           android:versionName="2.3.4"
   
Also remove the code,
                            <uses-sdk
                                    android:minSdkVersion="19"
                                    android:targetSdkVersion="19" />
       
and save AndroidManifest.xml file. Create the apk file again with updated Manifest file.
Now successfully Install the apk file again in your phone.

No comments:

Post a Comment