Closed Vinayak0-0 closed 2 months ago
Thank you, I'll take a look, could you give a bit more details, which platform, which model and etc
@DenisovAV, we encountered that issue while trying to use the gemma-2b-it-gpu-int4
model on Android 11. The problem was later resolved by adding the following to the build.gradle
file:
buildTypes {
release {
...
minifyEnabled false
shrinkResources false
}
}
However, we're not certain if this is a good approach.
Description: I'm encountering a
PlatformException
when trying to initializeFlutterGemmaPlugin
in release mode. The same code works fine in debug mode, but fails in release mode with the following error: