Closed chenxiaofei910714 closed 1 year ago
Attempt to invoke virtual method 'com.google.mlkit.vision.barcode.internal.BarcodeScannerImpl b.g.f.b.a.e.e.zzb(b.g.f.b.a.b)' on a null object reference
当不知道一个第三方库的混淆规则时,除了配置基本的混淆规则外,可以通过 -keep 来保留类和类成员不被混淆,大部分情况下都很有效。
如:
-keep class com.google.mlkit.** { *; } -keep class com.king.mlkit.** { *; }
Attempt to invoke virtual method 'com.google.mlkit.vision.barcode.internal.BarcodeScannerImpl b.g.f.b.a.e.e.zzb(b.g.f.b.a.b)' on a null object reference