Proguard返回错误代码1 android parse.com

时间:2014-08-26 13:10:29

标签: android proguard

我想将proguard应用于我的应用程序,但会生成以下错误。

[2014-08-26 17:53:15 - Music And Videos] Proguard returned with error code 1. See console
[2014-08-26 17:53:15 - Music And Videos] Warning: com.parse.FacebookAuthenticationProvider$1:        can't find superclass or interface com.facebook.android.Facebook$ServiceListener
[2014-08-26 17:53:15 - Music And Videos] Warning: com.parse.FacebookAuthenticationProvider$2: can't find superclass or interface com.facebook.Session$StatusCallback
[2014-08-26 17:53:15 - Music And Videos] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find superclass or interface com.facebook.Request$Callback
[2014-08-26 17:53:15 - Music And Videos] Warning: com.lnsur.kdbqq193162.MV$6: can't find referenced method 'void evaluateJavascript(java.lang.String,android.webkit.ValueCallback)' in class com.lnsur.kdbqq193162.MV
[2014-08-26 17:53:15 - Music And Videos] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
[2014-08-26 17:53:15 - Music And Videos] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
[2014-08-26 17:53:15 - Music And Videos] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook

使用以下库

enter image description here

我的proguard-project.txt文件:

-libraryjars /libs/android-support-v4.jar
-libraryjars /libs/com-lnsur-kdbqq193162.jar
-libraryjars /libs/commons-codec-1.9.jar
-libraryjars /libs/commons.io_2.0.1.jar
-libraryjars /libs/ia-sdk-lib-5.0.1.jar
-libraryjars /libs/Parse-1.5.1.jar
-libraryjars /libs/simple-4.1.11.jar
-libraryjars /libs/universal-image-loader-1.9.2-SNAPSHOT-with-sources.jar
-dontwarn com.parse.**

我不知道如何解决,所以请帮助我,任何与之相关的建议。

2 个答案:

答案 0 :(得分:1)

Arash是对的

但你需要添加更多

尝试添加

 -dontwarn com.google.android.gms.**
 -dontwarn com.lnsur.kdbqq193162.**

答案 1 :(得分:0)

尝试添加:

 -dontwarn com.google.android.gms.**