java - 无法通过启用 proguard+using parse sdk 1.8.2 导出 Android 应用程序

标签 java android parse-platform push-notification proguard

   [2015-03-27 19:03:33 - BeautyTips] Proguard returned with error code  1. See console[2015-03-27 19:03:33 - BeautyTips]  Warning:com.parse.FacebookAuthenticationProvider$1: can't find superclass or interface com.facebook.android.Facebook$ServiceListener
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find superclass or interface com.facebook.Session$StatusCallback
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find superclass or interface com.facebook.Request$Callback
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SharedPreferencesTokenCachingStrategy
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SharedPreferencesTokenCachingStrategy
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$Builder
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SessionState
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SessionState
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook$ServiceListener
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$StatusCallback
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.SessionDefaultAudience
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session$OpenRequest
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.android.Facebook
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.TokenCachingStrategy
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$1: can't find referenced class com.facebook.android.Facebook$ServiceListener
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$1: can't find referenced class com.facebook.android.Facebook
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$1: can't find referenced class com.facebook.android.FacebookError
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$1: can't find referenced class com.facebook.android.FacebookError
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Session$StatusCallback
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request$Callback
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Request
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2: can't find referenced class com.facebook.SessionState
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.FacebookRequestError
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.model.GraphObject
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Request$Callback
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.FacebookRequestError
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.model.GraphObject
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Request
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.FacebookAuthenticationProvider$2$1: can't find referenced class com.facebook.Response
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.android.Facebook
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.android.Facebook
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.android.Facebook
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips] Warning: com.parse.ParseFacebookUtils: can't find referenced class com.facebook.Session
   [2015-03-27 19:03:33 - BeautyTips]       You should check if you need to specify additional program jars.
   [2015-03-27 19:03:33 - BeautyTips] Warning: there were 86 unresolved references to classes or interfaces.
   [2015-03-27 19:03:33 - BeautyTips]          You may need to specify additional library jars (using '-libraryjars').
   [2015-03-27 19:03:33 - BeautyTips] java.io.IOException: Please correct the above warnings first.
   [2015-03-27 19:03:33 - BeautyTips]   at proguard.Initializer.execute(Initializer.java:321)
   [2015-03-27 19:03:33 - BeautyTips]   at proguard.ProGuard.initialize(ProGuard.java:211)
   [2015-03-27 19:03:33 - BeautyTips]   at proguard.ProGuard.execute(ProGuard.java:86)
   [2015-03-27 19:03:33 - BeautyTips]   at proguard.ProGuard.main(ProGuard.java:492)

我的项目数据库托管在 parse.com 中,我一直在使用 parse.com 来使用推送通知。这里使用的解析 sdk 是 sdk 1.8.2。这是我在控制台中遇到的错误。要解决这个问题..请帮助我?

最佳答案

将以下行添加到您的 proguard 文件中:

-dontwarn com.parse.**
-keep class com.parse.** { *; }

关于java - 无法通过启用 proguard+using parse sdk 1.8.2 导出 Android 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29302227/

相关文章:

android - 从解析中收到的堆栈通知

java - 无法删除 ParseObject

ios - 快速为 tableView 部分和 tableView 单元格填充一个数组

java - 将 Jersey 1.8 更新到 1.10+ 会导致 ClassNotFoundException : com. sun.jersey.server.impl.cdi.AnnotatedCallableImpl

java - 用于压缩文件的 uidevice takescreenshot 选项不起作用

java - 字符串的 GSON 问题

java - EditText 未使用 Datepickerdialog 中选择的日期字符串进行更新

java - 在Java中,为什么char ch与String命令不一致?

Android CTS 在模拟器上显示 ShellCommandUnresponsiveException

android - 如何测量android中的数据下载和上传速度?