Via Lattanzio,23 Milano
+39 02 36592025
info@synaptica.info

Delphi 10.4.1 on Android error : java.lang.NullPointerException: Attempt to invoke virtual method

Digital solution partner

Delphi 10.4.1 on Android error : java.lang.NullPointerException: Attempt to invoke virtual method

When you try to use the camera component and you get “java.lang.NullPointerException: Attempt to invoke virtual method” only on “release” version of your application, probably you don’t have this setting to true: Check that the Project Options > Entitlements List > Secure File Sharing option is set to true.

 

good job