I have an Android project that uses the camera to scan a QR code. On a Samsung A16 this works fine, on a Samsung S25 this works fine, but on a Samsung S22 it does not work and all I get is “Cannot access camera. Check Permissions.” Permissions are granted both using android.permission.CAMERA in the manifest permissions and by allowing camera access from Apps on the phone itself. It seems that the S22 is more strict and requires a request during runtime, like on iOS, but that’s not built in to Xojo Android yet as far as I know. AI gave me the suggestion to create an .aar file but not being familiar with Kotlin, I run into one problem after another there. Any suggestions on how to fix this?
Did you ask the AI to create that aar file for you and guide you through implementing it in a Xojo app?
yes, but I kept running into errors during Sync in Kotlin. I tried so many times that even the AI suggested to take a break…
Welcome to the wonderful world of Android programming. One OS, thousands of “supported” hardware configurations.
So I managed to get a compiled .AAR file from Android Studio, but AI is suggesting the following; With the current behavior of your Xojo build, your AAR‑based Kotlin bridge cannot be called directly from Xojo via declares. The runtime only supports C‑style externals, not Java/Kotlin class/method binding. Is this true?