I’m having an issue with the “PersonalImageClassifier” extension.
It works perfectly when I test my app with Companion, but as soon as I build the APK, it just stops working. The classification doesn’t happen at all.The PersonalImageClassifier.ClassifierReady block is never executed.
The problem occurs on both servers.
UPDATE
The extension works correctly in an APK built with App Inventor; however, the same project and extension do not work properly in an APK built with Niotron—the application runs, but the extension does not load.
1 Like
Hi @abhijith Sorry to bother you:
Can you give me a clue as to why the extension works in Companion but not in the APK? Perhaps some permission needs to be granted?.
thanks in advance!
Did you check the logs? The problem might also be due to missing libraries, Companion comes compiled with a lot of optional libraries required for all components, which we only include in the final app if it’s needed by the components used.
1 Like
Thank you both for your answers. I used adb logcat > log.txt and captured the logs while launching the APK. I will repeat the process if necessary. Thanks for your help!
PICtest.aia (5.9 MB)
log.txt (2.3 MB)
When you have a moment, could you please take a look?
thanks in advance!
1 Like
Please , when you have time, could you take a look at it? Just to see if I should abandon my app or if there’s a workaround. My app worked perfectly before updating to Android 15/16. Thanks in advance.
1 Like