Android–Proguard返回错误代码1.请参阅控制台

Android–Proguard返回错误代码1.请参阅控制台,第1张

概述我对proguard有疑问.我在控制台上得到了这个我使用proguard4.11.我可以解决这个问题吗?[2014-02-1112:46:55-Distributor]Proguardreturnedwitherrorcode1.Seeconsole[2014-02-1112:46:55-Distributor]Note:therewere4duplicateclassdefinitions.

我对proguard有疑问.我在控制台上得到了这个
我使用proguard 4.11.我可以解决这个问题吗?

    [2014-02-11 12:46:55 - distributor] Proguard returned with error code 1. See console    [2014-02-11 12:46:55 - distributor] Note: there were 4 duplicate class deFinitions.    [2014-02-11 12:46:55 - distributor]       (http://proguard.sourceforge.net/manual/troubleshooting.HTML#duplicateclass)    [2014-02-11 12:46:55 - distributor] Warning: library class androID.content.res.XmlResourceParser extends or implements program class org.xmlpull.v1.XmlPullParser    [2014-02-11 12:46:55 - distributor] Warning: library class androID.content.Intent depends on program class org.xmlpull.v1.XmlPullParser    [2014-02-11 12:46:55 - distributor] Warning: library class androID.content.IntentFilter depends on program class org.xmlpull.v1.XmlSerializer    [2014-02-11 12:46:55 - distributor] Warning: library class androID.content.IntentFilter depends on program class org.xmlpull.v1.XmlPullParser    [2014-02-11 12:46:55 - distributor] Warning: library class androID.content.res.colorStateList depends on program class org.xmlpull.v1.XmlPullParser    [2014-02-11 12:46:55 - distributor] Warning: library class androID.graphics.drawable.colorDrawable depends on program class org.xmlpull.v1.XmlPullParser    [2014-02-11 12:46:55 - distributor] Warning: library class androID.graphics.drawable.Drawable depends on program class org.xmlpull.v1.XmlPullParser    [2014-02-11 12:46:55 - distributor] Warning: library class androID.graphics.drawable.Drawable depends on program class org.xmlpull.v1.XmlPullParser    [2014-02-11 12:46:55 - distributor] Warning: library class androID.graphics.drawable.Drawable depends on program class org.xmlpull.v1.XmlPullParser    [2014-02-11 12:46:55 - distributor] Warning: library class androID.graphics.drawable.LevelListDrawable depends on program class org.xmlpull.v1.XmlPullParser    [2014-02-11 12:46:55 - distributor] Warning: library class androID.vIEw.LayoutInflater depends on program class org.xmlpull.v1.XmlPullParser    [2014-02-11 12:46:55 - distributor] Warning: library class androID.vIEw.LayoutInflater depends on program class org.xmlpull.v1.XmlPullParser    [2014-02-11 12:46:55 - distributor] Warning: there were 12 instances of library classes depending on program classes.    [2014-02-11 12:46:55 - distributor]          You must avoID such dependencIEs, since the program classes will    [2014-02-11 12:46:55 - distributor]          be processed, while the library classes will remain unchanged.    [2014-02-11 12:46:55 - distributor]          (http://proguard.sourceforge.net/manual/troubleshooting.HTML#dependency)    [2014-02-11 12:46:55 - distributor] Error: Please correct the above warnings first.

解决方法:

我将此行添加到proguard-project.txt

    -dontwarn org.xmlpull.v1.**

这行到project.propertIEs

   proguard.config=proguard-project.txt
总结

以上是内存溢出为你收集整理的Android – Proguard返回错误代码1.请参阅控制台全部内容,希望文章能够帮你解决Android – Proguard返回错误代码1.请参阅控制台所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1110542.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-29
下一篇 2022-05-29

发表评论

登录后才能评论

评论列表(0条)

保存