Open AbdallahMohamed220 opened 8 months ago
Not enough data to help you, check the example project.
Hi I also want to said that it only happen in release mode but in debug and profile work fine
and if delete file in c it run but function of scan not work
It only happens on release because R8 is an optimization tool that only takes place on release unless you manually specify it for debugs. You have to check your gradle confs, to see if there is something causing issues with R8 and honeywell .aar. For instance you can try disabling R8 on release builds using this in your app gradle.conf:
...
buildTypes {
release {
minifyEnabled false
shrinkResources false
ndk {
abiFilters 'armeabi-v7a','arm64-v8a'
}
}
...
Also check the docs: https://developer.android.com/build/shrink-code
ERROR:C:\Users--.gradle\caches\transforms-3\879d833172b62a6759a4151e737976da\transformed\jetified-datacollection.jar: R8: Type com.honeywell.IExecutor$Stub$Proxy is defined multiple times: C:\Users--.gradle\caches\transforms-3\879d833172b62a6759a4151e737976da\transformed\jetified-datacollection.jar:com/honeywell/IExecutor$Stub$Proxy.class, D:\Projects---\build\honeywell.transforms\144dc4da4006cd867b23a1b5283fec2e\transformed\jetified-honeywell-runtime.jar:com/honeywell/IExecutor$Stub$Proxy.class