I get the same error for almost every other extension. I always delete the Companion folder and reload the browser before testing an extension. That doesn't change anything.
As everyone knows, it also worked with Companion before. If we can basically only test with the compiled app, we don't need Companion anymore.
And as you can see from my example, it works without any problems with Niotron.
I have the same problem using KIO4_base64 and ClickZ, when i try to lunch the app on companion it gives me this error:
"Unable to load extensions.java.lang.StringIndexOutOfBoundsException:
String index out of range: -1"
companion version: 2.73 (from app store)
Phone: Samsung A30s
Android version: 11
So I was able to reproduce the problem. That means it's only a matter of time until I have it fixed. I'll probably post a binary of a fixed companion within the next 24 hours.
Strange because I had this problem for a few days on Android 14. In addition, I read in PR that on Android14 the jar file has the same name as the extension. In my case, it was still classes.jar in the error.
Ran tests on three devices, using both the ai2test server and ai2 server, with companion 2.73tu.
For me this has fixed the "String IndexOutOfBounds" error on Android 12 (genymotion) and Android 13 (Pixel 4a)
Well done Jeff !!
What remains is a continuing issue with Android 14/15 in loading a project with an updated extension which is returning the error of being unable to load the classes.jar. This is with tests on Android 15 Pixel 8a. This failed to load to the two projects I tested, which loaded just fine with Android 12 & 13.
Working fine on android 11 (Samsung A30s) Emulator v2.73t2u
The only "problem" when you launch it on the companion shows to update the version of the companion skippable pressing "not now"
It will be best to wait until the updated companion is released. You should not develop on ai2test, it is for testing new features. Jeff did link to the ai2test server in his post.