I tryed these steps:
- instead of using the .aar, I have unzip it and use the classes.jar
- Move the library res folder to AditionalRes;
- Change the res/values.xls, changing those two xml layour parameters
Example now compile without errors.
But when I try to connect to the terminal, at runtime I get this error:
"Caused by: java.lang.ClassNotFoundException: Didn't find class "com.mypos.slavesdk.R$layout" on path: DexPathList[[zip file "/data/app/b4a.example-OuVR1rV5D6tcq-douDcfTQ==/base.apk"],nativeLibraryDirectories=[/data/app/b4a.example-OuVR1rV5D6tcq-douDcfTQ==/lib/arm64, /system/lib64, /vendor/lib64]]"
I think that the library is trying to open its own connection activity.
In fact I didn't copy the R.txt file.
Is this an error because it's missing the library R.txt ?
Any strategy to bypass this error?