Which device? And post the aia. I have several devices with Android 9 (Samsung, Xiaomi, Huawei).
Samsung? A few posts above you have a stack trace from a Samsung S8 Android 9.
Xiaomi Mi A3
Android 11
Built: December 4 2024 Version: nb199a
Use Companion: Use Companion: 2.73a
It is not working properly.
I found out that it works but only with one extension...
Try this version
Remember: 2.73d1u is intended for ai2, not ai2-test and you will need the click the "Not Now" button.
Taifun
Same result, the first extension loads fine and every other one doesn't.
No error message appears but the smartphone screen freezes.
Any ideas to help with this, using Machinelearning extension with Android 9/ 2.73a : giving the string out of index error
Android 14 with 2.73 works
What can be done, we have a workshop coming up in a day and need to fix this. Please help. TIA
You still have the workaround of building your app and running the apk
Ok thanks, also will the app build and apk run on iphones also, sorry for asking as I cannot test that , since I have an Android.
Exactly, try to add any other extension...
(I tested it on several devices (Android 5-13) with Version: 2.73au.)
this work for me
I added another extension to your project.
Try it:
BLEScanTest2.aia (213.3 KB)
On android 14 it works fine, on Samsung with android 9 there are errors, as if the methods from the extension were not recognized.
Any extension works, but only the first one. If I add any more, the companion stops working.
Yes, as I said.
On Android < 14 it fails if there are more than one extension.
In reality isn't right I was using companion v2.73 on my Samsung the only problem is using extension, fails with the classic error "Unable to load extensions.java.lang.StringIndexOutOfBoundsException:
String index out of range: -1" but with v2.73d1u from @jis its all fixed and works perfectly.
We are no longer testing companion v2.73d1u. The companion in the play store has been updated and we are now testing the currently released companion v2.73a. If you want to be helpful, test with multiple extensions, not just one, and in the feedback provide more details about what phone, what Android. The information that everything works is not helpful, because it works for me too, but not on every phone.
Ok i missed this one, going ti test it right now!!!
Just test it using 10 different extension, for all its working to me, even using some of them together, all the components seems ok.
Android version: 11
Model phone: Samsung A30s