【问题标题】:Flurry Android SDK proguard.cfg file Configuration issueFlurry Android SDK proguard.cfg 文件配置问题
【发布时间】:2016-11-17 06:47:21
【问题描述】:

基于 Flurry Android SDK 集成document

-keepclasseswithmembers class * {
    public (android.content.Context, android.util.AttributeSet, int);(Line 41)
}

当我尝试构建发布 APK 时,出现以下错误:

on Line 41
flurry android SDK IOException: proguard.ParseException: Expecting java type proguard-rules.pro'

【问题讨论】:

    标签: android flurry android-proguard


    【解决方案1】:

    我也遇到了同样的问题。 在Flurry Integration Guide 中,他们的 proguard 脚本 sn-ps 中缺少 <init>。只需这样添加:

    -keepclasseswithmembers class * {
         public <init>(android.content.Context, android.util.AttributeSet, int);
     }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-07-15
      • 2017-07-19
      • 1970-01-01
      • 1970-01-01
      • 2012-02-25
      • 1970-01-01
      • 2016-05-28
      相关资源
      最近更新 更多