Proguard破坏了本地android

Proguard破坏了本地android,android,react-native,gradle,proguard,Android,React Native,Gradle,Proguard,在我的react native项目中启用了proguard之后,我从所有软件包,com.facebook.react,okhttp3,okio,以及我正在使用的所有其他第三方库,包括org.reactnative.camera,com.lwansbrough.RCTCamera,都收到了无数的注释和错误,com.horcrux.svg等。默认的proguard规则不应该已经处理了一些默认包吗 在无数个小时寻找解决方案,其中包括明显的-dontnote和-dontwarn,以及尝试-keep所有提

在我的react native项目中启用了proguard之后,我从所有软件包,
com.facebook.react
okhttp3
okio
,以及我正在使用的所有其他第三方库,包括
org.reactnative.camera
com.lwansbrough.RCTCamera
,都收到了无数的注释和错误,
com.horcrux.svg
等。默认的proguard规则不应该已经处理了一些默认包吗

在无数个小时寻找解决方案,其中包括明显的
-dontnote
-dontwarn
,以及尝试
-keep
所有提到的类之后,每次我设法消除几个警告,总有更多的警告

我真的需要手动检查每一个引用才能使用proguard吗?有时我甚至不知道在使用其他库时保留和忽略哪个类。请帮忙

Note: there were 4 references to unknown classes.
      You should check your configuration for typos.
      (http://proguard.sourceforge.net/manual/troubleshooting.html#unknownclass)
Note: there were 1 references to unknown class members.
      You should check your configuration for typos.
Note: there were 835 unkept descriptor classes in kept class members.
      You should consider explicitly keeping the mentioned classes
      (using '-keep').
      (http://proguard.sourceforge.net/manual/troubleshooting.html#descriptorclass)
Note: there were 70 unresolved dynamic references to classes or interfaces.
      You should check if you need to specify additional program jars.
      (http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclass)
Warning: there were 1620 unresolved references to classes or interfaces.
         You may need to add missing library jars or update their versions.
         If your code works fine without the missing classes, you can suppress
         the warnings with '-dontwarn' options.
         (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
Warning: there were 1 unresolved references to program class members.
         Your input classes appear to be inconsistent.
         You may need to recompile the code.
         (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedprogramclassmember)
Warning: Exception while processing task java.io.IOException: Please correct the above warnings first.
Thread(Tasks limiter_14): destruction