2017-09-28 67 views
1

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

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 

由于图书馆progaurd失败而导致无法理解。

progaurd file

app level build.gradle

Error log

+0

发布您的proguard规则 – Darush

+0

添加了progaurd文件 –

+0

您可以发布您的应用程序级别build.gradle文件吗? – Darush

回答

0

它不支持库的问题, 我使用库调用branch.io,我加入它与 “+” 依赖结束。所以,它的更新和有一些progaurd规则。