This is what I get in the unfiltered logs when I start the app that worked before (on KitKat and now trying to again run it on KitKat)
java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:15169)
at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:2492)
at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:688)
at android.content.ContentProvider$Transport.call(ContentProvider.java:325)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:275)
at android.os.Binder.execTransact(Binder.java:404)
at dalvik.system.NativeStart.run(Native Method)
I have now even gone back to B4A V6.00 (it worked with 6.00 before) and have also set my path to android 23 and then android 21 but the same error comes up. Camera refuses to start.
I have the required permissions added in the wrapper.
@Permissions(values={"android.permission.CAMERA", "android.permission.FLASHLIGHT"})
Any idea why this is happening?