2017-09-28 91 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規則。