0

我有一个在发布版本(签名应用程序版本)中编译的安卓应用程序就好了。我已经升级到 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)

新版本的库会破坏应用程序,这很烦人。至少,他们应该对此提出一些警告。

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

4

1 回答 1

1

“com.flurry.sdk.dz”属于 FlurryAds-XXXjar 库。如果您不使用广告,请尝试以下操作,它可以工作:

-dontwarn com.flurry.**
于 2015-10-10T00:44:42.930 回答