I just installed 10.2 partly to see if it would solve this problem. But now I get a new error - all RuntimePermissions that I use are failing with the same error. This error occurs on
Android 29 manifest target 28. Pixel 3 XL Android Version 10. Build number is QQ3A.200805.001
Log:
To be clear, before the update only PERMISSION_WRITE_EXTERNAL_STORAGE was failing as mentioned in the link above and it was a different issue. Now everything fails.
RP.Check(RP.PERMISSION_WRITE_EXTERNAL_STORAGE)
RP.Check(RP.PERMISSION_CALL_PHONE)
andRP.Check(RP.PERMISSION_CAMERA)
Android 29 manifest target 28. Pixel 3 XL Android Version 10. Build number is QQ3A.200805.001
Log:
B4X:
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/core/content/ContextCompat;
at anywheresoftware.b4a.objects.RuntimePermissions.Check(RuntimePermissions.java:73)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7259)
at android.view.View.performClickInternal(View.java:7236)
at android.view.View.access$3600(View.java:801)
at android.view.View$PerformClick.run(View.java:27892)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
Caused by: java.lang.ClassNotFoundException: androidx.core.content.ContextCompat
... 20 more
To be clear, before the update only PERMISSION_WRITE_EXTERNAL_STORAGE was failing as mentioned in the link above and it was a different issue. Now everything fails.