How do I fix “There Was a Problem Parsing the Package”?

I compiled my existing projects with a new sdk31 AI2 without any problem but trying to install the APK on my android 12 OnePlus 8T smartphone I'm recieving the error "There Was a Problem Parsing the Package”. Maybe somebody has had already such problem?
P.s. I've tried without success all "standard" solutions like permissions, usb and etc...

Delete a previous version.

1 Like

Go through my list:
ProfessorCad: Tips & Tricks Cannot Build/Install/Run APK

At what point in the installation process does the error pop up? Can you screen-shot the error message and post it here?

Good morning Chris,
I recompiled 3 APK with a new sdk31 AI2 and file manager is not showing their icons and clicking on it for installation - immediately appears an error. The compilation itself was finishing without any error. All those 3 projects didn't have any problem during the installation with the previous sdk30 and were not changed.
Thank you very much

1 Like

I uninstalled completely the previous version of APK from my smartphone and copied again the new APK but the error persist

You will have to give more information about your project. Until know we do not know anything about it. Can you pm me the aia so I can test it?

1 Like

..Also, what is the Make, Model and Android version of the Smartphones you are testing with.

I was able to build but I get the error that the package is invalid when I try to install. Android 13, Pixel 4a.

Any extensions in there?

A lot

for the Alarm Manager extension make sure to use the latest version 5c released on Sept 26, 2022


1 Like

The culprit is possibly one of them.

I don't recognise the 'Lists' extension? That would be the first to remove/disable to see if it has an adverse effect on the APK.

Does the Project run properly via the Companion?

Perhaps ChartMakerPlus is unnecessary now that AI2 has it's own Chart component.

Yep it is working as it should.

No huge media files, especially the icon file, in the APK?

aia = 1,3 MB. No big files. Biggest is sqlite db 1,1 MB.

The test then, assuming the Alarm Manager extension is the latest version 5c, Is to disable the Extensions one-by-one to see if the issue goes away when one of them is excluded.

It is 5a.

Hi Taifun,
i was using the AlarmManager version that i've recieved from you few months ago and its 5A. How can i recieve last version of your extension?

Unfortunately deleting LIST extension is not solving the problem