When I try to call a java library function, 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]]"
Library is trying to open its own connection activity.
.jar library was extracted from the .aar where exists the R.txt
In fact I didn't copy the R.txt file, only the res folder and the jar class.
Is this error happening because it's missing the library R.txt ?
Any strategy to bypass 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]]"
Library is trying to open its own connection activity.
.jar library was extracted from the .aar where exists the R.txt
In fact I didn't copy the R.txt file, only the res folder and the jar class.
Is this error happening because it's missing the library R.txt ?
Any strategy to bypass this error?