"There is a problem parsing the package"

Hey,

Im running into a problem where I am sending my friends my APK to test on their phones and receiving an error “There is a problem parsing the package”

has anyone ran into this? if so how does one go about solving it?

i read up on some sites and generally its when installing out of market apps, but im hesitant to upload an app that im not 100% sure will work.

The game works fine on droidx, droid, desire. i am receiving the error on HTC incredible and a crash on incredible 2

any input would be great! this is the sole problem of why my game is not released right now so i need to fix this asap!

thanks!

1 Like

That happens when the bluetooth send fails, basically the apk got corrupted on the way to their phone. try sending the file via a different method. That’s what I found anyway…

thanks for the reply! im sending it via email and it does seem to hang up and take a long time, your answer is slightly confirming that of what others say on other forums, ill try it out thanks

still any other input would be awesome, on other forums this seems to be an issue that no one really has to straight of an answer for

1 Like

hi,

did you resolve this?
i’m having the same problem…

tnx!

Not really, It’s been awhile tho, 2 years, I’m not sure if it just started working or if I had to send it a different way, it’s possible I sent it in a zip and they has to install it after downloading

Old thread, but its one of the top 3 on google. Thought I’d share how I fixed this. Under the build settings window, click on player settings. In “Other Settings” change your minimum API level to be lower (for example, Android 4.1 instead of 4.4), and rebuild your APK. Chances are your friends had a lower version of Android than what you were building for, and their devices didn’t know how to handle the APK.

14 Likes

Thank You bro. You are the best. It solved.

2 Likes

Faced this problem when my phone was 7.0 based and I had built the app to be based off 8.0

Issue is still open in unity 2018.2.2f1 , no working apk be generated vr for android , In resolution settings tried Blit as Always,Auto and Never options , but still no result ( Lenovo P2 Snapdragon 640)

Thanks so much man!

Player settings/ down the minimum API Level works for me. Unity 2018. Thank you so much!

Android version number caused it for me. i was trying to install 7.1 build to 6.0 Android.

For me, it was not working, because I had android version 10 in my phone and in (Player settings/ Other settings) was set “Target API Level” as “Automatic highiest instaled” so I changed it to 'API level 30" and then during build it asked me to download some updated, so now it works for me.

Works. Many thanks!

Targeting API 31 (Android 12) was giving me the “There is a problem parsing the package” installation error. Ironically, would only error on Android 12 devices, but install fine on Android 11.

Solution: Set the target to API 30 (Android 11).

2 Likes

Facing the same issue here. Did you find a way out?

After setting the target API Level to API 30, were you able to install your app on Android 12 devices? I’m currently facing the same issue

Any problem you face while setting API 31? If you are targeting Android 12 devices, API 31 is the way to go.

I followed your suggested solution (the script) all to no avail. All of my games won’t install on any device running Android 12. It’s really frustrating. I don’t know anything else to do. I also added the exported:true stuff to the custom manifest file, still to no avail.

Yes, targeting API 30 allowed me to install on Android 12 successfully.

I didn’t change anything else far as I remember.

Still puzzled as to what was broken when trying to target API 31.