如何摆脱升级后的乱码错误?

时间:2015-10-09 15:33:23

标签: android flurry flurry-analytics

我有一个在发布版本(已签名的应用程序版本)中编译的adroid应用程序就好了。我已升级到flurry analytics 6.1.0,现在我在制作发布APK时遇到了很多错误。

错误是:

3:05:56 - MyApp] Proguard returned with error code 1. See console
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1: can't find referenced class com.flurry.sdk.dz$a
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1$1: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1$1: can't find referenced class com.flurry.sdk.dz$a
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1$1: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1$1: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1$1: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1$1: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1$1: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1$1: can't find referenced class com.flurry.sdk.dz$a
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1$1: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$1$1: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$2: can't find referenced class com.flurry.sdk.dz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$2: can't find referenced class com.flurry.sdk.dz$a
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$2: can't find referenced class com.flurry.sdk.dz$a
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$2: can't find referenced class com.flurry.sdk.dz$a
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$2: can't find referenced class com.flurry.sdk.dz$a
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.Post$2: can't find referenced class com.flurry.sdk.dz$a
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.TumblrShare: can't find referenced class com.flurry.sdk.ej
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.TumblrShare: can't find referenced class com.flurry.sdk.ff
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.TumblrShare: can't find referenced class com.flurry.sdk.gz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.TumblrShare: can't find referenced class com.flurry.sdk.ej
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.TumblrShare: can't find referenced class com.flurry.sdk.ej
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.TumblrShare: can't find referenced class com.flurry.sdk.ej
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.TumblrShare: can't find referenced class com.flurry.sdk.ej
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.TumblrShare: can't find referenced class com.flurry.sdk.ff
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.TumblrShare: can't find referenced class com.flurry.sdk.gz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.TumblrShare: can't find referenced class com.flurry.sdk.gz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.android.tumblr.TumblrShare: can't find referenced class com.flurry.sdk.gz
[2015-10-09 13:05:56 - MyApp] Warning: com.flurry.sdk.lw: can't find referenced class com.flurry.sdk.i
[2015-10-09 13:05:56 - MyApp]       You should check if you need to specify additional program jars.
[2015-10-09 13:05:56 - MyApp] Warning: there were 35 unresolved references to classes or interfaces.
[2015-10-09 13:05:56 - MyApp]          You may need to specify additional library jars (using '-libraryjars').
[2015-10-09 13:05:56 - MyApp] java.io.IOException: Please correct the above warnings first.
[2015-10-09 13:05:56 - MyApp]   at proguard.Initializer.execute(Initializer.java:321)
[2015-10-09 13:05:56 - MyApp]   at proguard.ProGuard.initialize(ProGuard.java:211)
[2015-10-09 13:05:56 - MyApp]   at proguard.ProGuard.execute(ProGuard.java:86)
[2015-10-09 13:05:56 - MyApp]   at proguard.ProGuard.main(ProGuard.java:492)

新版本的库破坏了应用程序,这非常令人讨厌。至少,他们应该对此提出一些警告。

这是什么错误?为什么它们出现并且最重要,如何摆脱它们?

1 个答案:

答案 0 :(得分:1)

“com.flurry.sdk.dz”属于FlurryAds-X.X.X.jar lib。 如果您不使用广告,请尝试以下操作:

-dontwarn com.flurry.**