Android Question AppUpdating error

Carles Escudé

Member
Licensed User
Longtime User
Hi!,
I am using the library AppUpdating version 2.00.

When I call the method autoUpdate.UpdateApk(Result) I get the following error.

java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object reference

Before calling the method I get a True from "CheckInstallationRequirements" sub.

What I am doing wrong?

Many thanks in advance!
 
Last edited:

udg

Expert
Licensed User
Longtime User
Hi Carles,
I don't know if that would solve your problem, but would you like to try with the updated code attached to this post?
I advice you to read preceding and following posts too in order to be sure they apply to you as well.

Sorry that I didn't find the time to update the original thread. As soon as I complete my current (huge) project I'll do it for sure. Than you for pointing me about it.

udg
 
Upvote 0
Top