Attempt to invoke virtual method when calling camera.take picture

Hi

I have this error on my project:

“Attempt to invoke virtual method ‘android.content.res.XmlResource parser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)’ on a null object reference”.

It happens when I call the Camera Take Picture method. It was working fine, but suddenly stopped.

I made a stub project adding only a button and the camera component to test the Take Picture method and it worked. No error message appeared.

then I thought it would be any old extension and i decided to delete the taifunFile and taifunTools from the project, but the error continues.

My block is a procedure one and a take picture inside.

I’m new at Kodular Programming and i would be very glad if someone can help me.

1 Like
2 Likes