cronet_flutter
cronet_flutter copied to clipboard
Force close
Hi @Sunbreak ,
i have some issue and stuck in here 😅
when i running in debug/profile mode it's fine, but if I run flutter run --release or flutter build apk
application always force close on emulator or real device.
This issue also occurs in this package https://pub.dev/packages/cronet
Could you post full log of Failed to find class J/N?
It seems to be related to ProGuard config. You'd better try keep some classes from CroNet, e.g. ContextUtils
https://github.com/Sunbreak/cronet_flutter/blob/fce965e7aa749dc6e2a06fc4e6db3f0fd8ce8b83/android/src/main/kotlin/com/example/cronet_flutter/CronetFlutterPlugin.kt#L23