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

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

概述这个问题已经多次被问过,但我无法解决.我正在尝试使用 eclipse导出我的应用程序以进行最终发布但是我收到以下错误.我添加了其他人在其他链接中建议的所有条目但没有帮助.请帮我解决这个错误. Proguard returned with error code 1. See console[2014-08-24 11:21:11 - ] Note: there were 1035 duplicat 这个问题已经多次被问过,但我无法解决.我正在尝试使用 eclipse导出我的应用程序以进行最终发布但是我收到以下错误.我添加了其他人在其他链接中建议的所有条目但没有帮助.请帮我解决这个错误.

Proguard returned with error code 1. See console[2014-08-24 11:21:11 - ] Note: there were 1035 duplicate class deFinitions.[2014-08-24 11:21:11 - ] Warning:com.Google.API.clIEnt.extensions.jdo.JdoDataStoreFactory$Jdovalue: can't find superclass or interface javax.jdo.spi.PersistenceCapable[2014-08-24 11:21:11 - ] Warning: com.Google.API.clIEnt.extensions.jdo.JdoDataStoreFactory$JdoDataStore: can't find referenced class javax.jdo.PersistenceManagerFactory[2014-08-24 11:21:11 - [2014-08-24 11:21:11 - ] Warning: com.Google.API.clIEnt.GoogleAPIs.extensions.androID.gms.auth.GoogleAccountCredential: can't find referenced class com.Google.androID.gms.common.AccountPicker[2014-08-24 11:21:11 - ] Warning: com.Google.API.clIEnt.GoogleAPIs.extensions.androID.gms.auth.GoogleAccountCredential: can't find referenced class com.Google.androID.gms.auth.GoogleAuthUtil You should check if you need to specify additional program jars.   Warning: there were 127 unresolved references to classes or interfaces. You may need to specify additional library jars (using '-libraryjars').  Error: Please correct the above warnings first.

有很长的错误,所以我粘贴了相关的错误.下面是我的proguard-project.txt文件条目.

-keep class androID.support.v4.** { *; }   -dontwarn androID.support.v4.**-dontwarn javax.activation.**-dontwarn javax.security.**-dontwarn java.awt.**-libraryjars <java.home>/lib/rt.jar-keep class javax.** {*;}-keep class com.sun.** {*;}-keep class myjava.** {*;}-keep class org.apache.harmony.** {*;}-keep public class Mail {*;}        -dontshrink-dontwarn org.mockito.**-dontwarn sun.reflect.**-dontwarn androID.test.**-keep class javax.ws.rs.** { *; }-dontwarn com.fasterxml.jackson.**-dontwarn org.xmlpull.v1.**
解决方法 我解决了这个问题.我在下面添加了两行,现在它没有给出任何警告,我能够使用eclipse成功生成.apk文件.

-dontwarn javax.jdo.**-dontwarn com.Google.API.clIEnt.GoogleAPIs.extensions.androID.gms.**

希望它会帮助某人.谢谢

总结

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

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

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

原文地址: https://outofmemory.cn/web/1130064.html

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

发表评论

登录后才能评论

评论列表(0条)

保存