Android Question AppUpdating error

Carles Escudé

Licensed User
Longtime User
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, 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:


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.

Upvote 0