支持库更新到26.0.1后,Proguard失败

问题描述 投票:1回答:1

我已将我的支持库更新为26.0.1,但发布版本失败。日志

Note: there were 3 references to unknown classes.
      You should check your configuration for typos.
      (http://proguard.sourceforge.net/manual/troubleshooting.html#unknownclass)
Note: there were 63 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 29 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)
Note: there were 1 class casts of dynamically created class instances.
      You might consider explicitly keeping the mentioned classes and/or
      their implementations (using '-keep').
      (http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclasscast)
Warning: there were 30 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.
            :purplleAndroid:transformClassesAndResourcesWithProguardForRelease FAILED

由于哪个库程序失败而无法理解。

proguard file

app level build.gradle

Error log

android build proguard release android-proguard
1个回答
0
投票

它不支持库问题,我使用名为branch.io的库,我用“+”添加它的依赖结束。所以它更新了,并且有一些progaurd规则。

© www.soinside.com 2019 - 2024. All rights reserved.