我不知道我可以如何描述这个问题。

我搜索了很多,但我没有找到任何解决方案。

此外这个解决方案没有帮助我

-keepattributes EnclosingMethod

项目依赖:

dependencies {

compile project(':libraries:material-drawer')

compile fileTree(dir: 'libs', include: ['*.jar'])

testCompile 'junit:junit:4.12'

compile 'com.android.support:appcompat-v7:23.2.0'

compile 'com.android.support:recyclerview-v7:23.2.0'

compile 'com.android.support:design:23.2.0'

compile 'com.google.code.gson:gson:2.4'

compile 'com.mcxiaoke.volley:library:1.0.19'

compile 'com.squareup.picasso:picasso:2.5.2'

compile 'com.squareup.okhttp:okhttp:2.4.0'

compile 'de.greenrobot:eventbus:2.4.0'

compile 'com.commit451:PhotoView:1.2.4'

compile 'com.nineoldandroids:library:2.4.0'

compile 'com.viewpagerindicator:viewpagerindicator:2.4.3'

compile('com.github.afollestad.material-dialogs:commons:0.8.5.6@aar') {

transitive = true

}

compile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') {

transitive = true;

}

}

而jar文件夹包含ormlite-android-4.48.jar和ormlite-core-4.48.jar

Progaurd文件:

-keepattributes EnclosingMethod

-dontobfuscate

-keep public class * extends android.support.v4.view.ActionProvider {

public (android.content.Context);

}

-dontwarn android.support.v4.**

#FOR APPCOMPAT 23.1.1:

-keep class !android.support.v7.view.menu.*MenuBuilder*, android.support.v7.** { *; }

-keep interface android.support.v7.* { *; }

# Required for crashlytics

#-keep class com.crashlytics.** { *; }

#-keep class com.crashlytics.android.**

-keepattributes SourceFile,LineNumberTable,*Annotation*

# Required for eventbus

-keepclassmembers class ** {

@org.greenrobot.eventbus.Subscribe ;

}

-keep enum org.greenrobot.eventbus.ThreadMode { *; }

-keepclassmembers class ** {

public void onEvent*(**);

}

# OrmLite uses reflection

-keep class com.j256.**

-keepclassmembers class com.j256.** { *; }

-keep enum com.j256.**

-keepclassmembers enum com.j256.** { *; }

-keep interface com.j256.**

-keepclassmembers interface com.j256.** { *; }

# Keep the helper class and its constructor

-keep class * extends com.j256.ormlite.android.apptools.OrmLiteSqliteOpenHelper

-keepclassmembers class * extends com.j256.ormlite.android.apptools.OrmLiteSqliteOpenHelper {

public (android.content.Context);

}

# Keep all model classes that are used by OrmLite

# Also keep their field names and the constructor

-keep @com.j256.ormlite.table.DatabaseTable class * {

@com.j256.ormlite.field.DatabaseField ;

@com.j256.ormlite.field.ForeignCollectionField ;

}

-keep public class org.codehaus.**

-keep public class java.nio.**

##---------------Begin: proguard configuration for Gson ----------

# Gson uses generic type information stored in a class file when working with fields. Proguard

# removes such information by default, so configure it to keep all of it.

-keepattributes Signature

# Gson specific classes

-keep class sun.misc.Unsafe { *; }

#-keep class com.google.gson.stream.** { *; }

# Application classes that will be serialized/deserialized over Gson

-keep class com.packagename.database.tables.** { *; }

-keep class com.packagename.models.apidata.** { *; }

-keep class com.packagename.models.data.** { *; }

## Nineolddroid related classes to ignore

-keep class com.nineoldandroids.animation.** { *; }

-keep interface com.nineoldandroids.animation.** { *; }

-keep class com.nineoldandroids.view.** { *; }

-keep interface com.nineoldandroids.view.** { *; }

-dontwarn okio.**

错误日志:

Warning:Ignoring InnerClasses attribute for an anonymous inner class

this warning is that reflective operations on this class will incorrectly

(android.support.v4.app.FragmentTransitionCompat21$1) that doesn't come with an

(android.support.v4.view.accessibility.AccessibilityNodeProviderCompatJellyBean$1) that doesn't come with an

Warning:Ignoring InnerClasses attribute for an anonymous inner class

indicate that it is *not* an inner class.

Warning:Ignoring InnerClasses attribute for an anonymous inner class

and without specifying any "-target" type options. The consequence of ignoring

this warning is that reflective operations on this class will incorrectly

(android.support.v4.view.ViewPropertyAnimatorCompatJB$1) that doesn't come with an

and without specifying any "-target" type options. The consequence of ignoring

(io.fabric.sdk.android.services.common.ExecutorUtils$1) that doesn't come with an

compiler that did not target the modern .class file format. The recommended

Warning:Ignoring InnerClasses attribute for an anonymous inner class

associated EnclosingMethod attribute. This class was probably produced by a

solution is to recompile the class from source, using an up-to-date compiler

compiler that did not target the modern .class file format. The recommended

compiler that did not target the modern .class file format. The recommended

(android.support.v4.view.accessibility.AccessibilityNodeProviderCompatKitKat$1) that doesn't come with an

indicate that it is *not* an inner class.

this warning is that reflective operations on this class will incorrectly

and without specifying any "-target" type options. The consequence of ignoring

(android.support.v4.view.AccessibilityDelegateCompatIcs$1) that doesn't come with an

solution is to recompile the class from source, using an up-to-date compiler

and without specifying any "-target" type options. The consequence of ignoring

(android.support.v4.app.FragmentTransitionCompat21$3) that doesn't come with an

solution is to recompile the class from source, using an up-to-date compiler

indicate that it is *not* an inner class.

solution is to recompile the class from source, using an up-to-date compiler

compiler that did not target the modern .class file format. The recommended

this warning is that reflective operations on this class will incorrectly

associated EnclosingMethod attribute. This class was probably produced by a

Warning:Ignoring InnerClasses attribute for an anonymous inner class

solution is to recompile the class from source, using an up-to-date compiler

and without specifying any "-target" type options. The consequence of ignoring

solution is to recompile the class from source, using an up-to-date compiler

and without specifying any "-target" type options. The consequence of ignoring

associated EnclosingMethod attribute. This class was probably produced by a

indicate that it is *not* an inner class.

Warning:Ignoring InnerClasses attribute for an anonymous inner class

indicate that it is *not* an inner class.

(android.support.v4.view.ViewPropertyAnimatorCompatKK$1) that doesn't come with an

and without specifying any "-target" type options. The consequence of ignoring

Warning:Ignoring InnerClasses attribute for an anonymous inner class

solution is to recompile the class from source, using an up-to-date compiler

this warning is that reflective operations on this class will incorrectly

solution is to recompile the class from source, using an up-to-date compiler

associated EnclosingMethod attribute. This class was probably produced by a

Warning:Ignoring InnerClasses attribute for an anonymous inner class

(android.support.v4.view.ViewPropertyAnimatorCompatICS$1) that doesn't come with an

(android.support.v4.app.FragmentTransitionCompat21$4) that doesn't come with an

solution is to recompile the class from source, using an up-to-date compiler

this warning is that reflective operations on this class will incorrectly

this warning is that reflective operations on this class will incorrectly

compiler that did not target the modern .class file format. The recommended

solution is to recompile the class from source, using an up-to-date compiler

(android.support.v4.app.FragmentTransitionCompat21$2) that doesn't come with an

indicate that it is *not* an inner class.

this warning is that reflective operations on this class will incorrectly

compiler that did not target the modern .class file format. The recommended

indicate that it is *not* an inner class.

solution is to recompile the class from source, using an up-to-date compiler

compiler that did not target the modern .class file format. The recommended

and without specifying any "-target" type options. The consequence of ignoring

and without specifying any "-target" type options. The consequence of ignoring

indicate that it is *not* an inner class.

this warning is that reflective operations on this class will incorrectly

compiler that did not target the modern .class file format. The recommended

Warning:Ignoring InnerClasses attribute for an anonymous inner class

this warning is that reflective operations on this class will incorrectly

compiler that did not target the modern .class file format. The recommended

Warning:Ignoring InnerClasses attribute for an anonymous inner class

indicate that it is *not* an inner class.

associated EnclosingMethod attribute. This class was probably produced by a

compiler that did not target the modern .class file format. The recommended

associated EnclosingMethod attribute. This class was probably produced by a

indicate that it is *not* an inner class.

and without specifying any "-target" type options. The consequence of ignoring

this warning is that reflective operations on this class will incorrectly

Warning:Ignoring InnerClasses attribute for an anonymous inner class

this warning is that reflective operations on this class will incorrectly

(android.support.v4.view.AccessibilityDelegateCompatJellyBean$1) that doesn't come with an

Warning:Ignoring InnerClasses attribute for an anonymous inner class

associated EnclosingMethod attribute. This class was probably produced by a

associated EnclosingMethod attribute. This class was probably produced by a

and without specifying any "-target" type options. The consequence of ignoring

(android.support.v4.view.ViewCompatLollipop$1) that doesn't come with an

associated EnclosingMethod attribute. This class was probably produced by a

solution is to recompile the class from source, using an up-to-date compiler

Warning:Ignoring InnerClasses attribute for an anonymous inner class

compiler that did not target the modern .class file format. The recommended

indicate that it is *not* an inner class.

this warning is that reflective operations on this class will incorrectly

Warning:Ignoring InnerClasses attribute for an anonymous inner class

indicate that it is *not* an inner class.

associated EnclosingMethod attribute. This class was probably produced by a

this warning is that reflective operations on this class will incorrectly

indicate that it is *not* an inner class.

solution is to recompile the class from source, using an up-to-date compiler

associated EnclosingMethod attribute. This class was probably produced by a

(com.android.volley.ExecutorDelivery$1) that doesn't come with an

solution is to recompile the class from source, using an up-to-date compiler

compiler that did not target the modern .class file format. The recommended

and without specifying any "-target" type options. The consequence of ignoring

associated EnclosingMethod attribute. This class was probably produced by a

and without specifying any "-target" type options. The consequence of ignoring

indicate that it is *not* an inner class.

compiler that did not target the modern .class file format. The recommended

solution is to recompile the class from source, using an up-to-date compiler

and without specifying any "-target" type options. The consequence of ignoring

indicate that it is *not* an inner class.

this warning is that reflective operations on this class will incorrectly

associated EnclosingMethod attribute. This class was probably produced by a

associated EnclosingMethod attribute. This class was probably produced by a

(io.fabric.sdk.android.services.common.ExecutorUtils$2) that doesn't come with an

Warning:Ignoring InnerClasses attribute for an anonymous inner class

compiler that did not target the modern .class file format. The recommended

associated EnclosingMethod attribute. This class was probably produced by a

compiler that did not target the modern .class file format. The recommended

and without specifying any "-target" type options. The consequence of ignoring

Uncaught translation error: com.android.dx.cf.code.SimException: local variable type mismatch: attempt to set or access a value of type int using a local variable of type android.support.design.widget.CoordinatorLayout$LayoutParams. This is symptomatic of .class transformation tools that ignore local variable information.

其余的错误日志:

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.commit451/PhotoView/1.2.4/jars/classes.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.crashlytics.sdk.android/crashlytics-core/2.3.8/jars/classes.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.github.afollestad.material-dialogs/commons/0.8.5.6/jars/classes.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.github.afollestad.material-dialogs/core/0.8.5.6/jars/classes.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.viewpagerindicator/viewpagerindicator/2.4.3/jars/classes.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.android.support/support-v4/23.2.0/jars/classes.jar] (filtered)

Copying resources from program jar [/home/ibrahim/.gradle/caches/modules-2/files-2.1/com.squareup.okio/okio/1.4.0/5b72bf48563ea8410e650de14aa33ff69a3e8c35/okio-1.4.0.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.crashlytics.sdk.android/answers/1.3.6/jars/classes.jar] (filtered)

Copying resources from program jar [/home/ibrahim/.gradle/caches/modules-2/files-2.1/com.nineoldandroids/library/2.4.0/e9b63380f3a242dbdbf103a2355ad7e43bad17cb/library-2.4.0.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/io.fabric.sdk.android/fabric/1.3.10/jars/classes.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.crashlytics.sdk.android/crashlytics/2.5.5/jars/classes.jar] (filtered)

Copying resources from program jar [/home/ibrahim/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.4/695b63d702f505b9b916e02272e3b6381bade7f/gson-2.4.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.crashlytics.sdk.android/beta/1.1.4/jars/classes.jar] (filtered)

Copying resources from program jar [/home/ibrahim/.gradle/caches/modules-2/files-2.1/com.mcxiaoke.volley/library/1.0.19/a8f23f65fc1e522ee4a1a697ee569901a46741fa/library-1.0.19.jar] (filtered)

Copying resources from program jar [/home/ibrahim/.gradle/caches/modules-2/files-2.1/com.squareup.picasso/picasso/2.5.2/7446d06ec8d4f7ffcc53f1da37c95f200dcb9387/picasso-2.5.2.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/23.2.0/jars/classes.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.mikepenz/iconics/1.6.2/jars/classes.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/transforms/mergeJavaRes/release/jars/2/1f/main.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/AppName.libraries/material-drawer/unspecified/jars/classes.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.2.0/jars/classes.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.android.support/support-v4/23.2.0/jars/libs/internal_impl-23.2.0.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.android.support/support-vector-drawable/23.2.0/jars/classes.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.android.support/design/23.2.0/jars/classes.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.android.support/animated-vector-drawable/23.2.0/jars/classes.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/com.mikepenz/iconics-core/1.6.2/jars/classes.jar] (filtered)

Copying resources from program jar [/home/ibrahim/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp/okhttp/2.4.0/40340c0748190fe897baf7bffbc1b282734294e5/okhttp-2.4.0.jar] (filtered)

Copying resources from program jar [/home/ibrahim/.gradle/caches/modules-2/files-2.1/de.greenrobot/eventbus/2.4.0/ddd166d01b3158d1c00576d29f7ed15c030df719/eventbus-2.4.0.jar] (filtered)

Copying resources from program jar [path/to/application/app/build/intermediates/exploded-aar/me.zhanghai.android.materialprogressbar/library/1.1.4/jars/classes.jar] (filtered)

signature=07d53df34494bb51485d7f5988447796,android – Progaurd问题“警告:忽略一个匿名内部类的InnerClasses属性”...相关推荐

  1. Android Studio SVN配置忽略文件 1.用Android Studio创建一个项目,会在根目录和Module目录下自动生成.gitignore文件,貌似是Git的配置文件,

    Android Studio SVN配置忽略文件 1.用Android Studio创建一个项目,会在根目录和Module目录下自动生成.gitignore文件,貌似是Git的配置文件,和SVN没有关 ...

  2. Android - 抑制lint的Android XML的警告:tools:ignore

    抑制lint的Android XML的警告:tools:ignore 本文地址:http://blog.csdn.net/caroline_wendy 本文的合集已经编著成书,高级Android开发强 ...

  3. 85、android handler的警告Handler Class Should be Static or Leaks Occur

    转载:http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2014/1106/1922.html 在使用Handler更新UI的时候,我是这样写 ...

  4. 【Android进阶】如何写一个很屌的动画(3)---高仿腾讯手机管家火箭动画

    系列中其他文章: [Android进阶]如何写一个很屌的动画(1)-先实现一个简易的自定义动画框架 [Android进阶]如何写一个很屌的动画(2)-动画的好帮手们 [Android进阶]如何写一个很 ...

  5. android 多个dialog 交替显示,Android如何在一个AlertDialog中一个接一个地显示两个ListViews...

    我有两个列表.一个列表显示可用列表中的所有可用项目(lv_available_items)和仅次要项目(lv_selected_items).我还希望该选定列表最多占用显示的50%,因此我使用属性&q ...

  6. Android在ListView中嵌套一个GridView时只显示一行的原因及解决方法

    在之前的编程里,我还没有遇到过要在一个ListView中嵌套一个GridView或是在一个GridView中嵌套一个ListView.所以今天事儿来了!我花了一将近3个小时,找到了为什么我在一个Lis ...

  7. android layerlist bitmap,android shape类似的 另一个 高端用法:layer-list

    android shape类似的 另一个 高端用法:layer-list : 简介: 将多个图片或上面两种效果按照顺序层叠起来 " <?xml version="1.0&qu ...

  8. android开发 转跳功能,如何在Android中利用Intent实现一个页面跳转功能

    如何在Android中利用Intent实现一个页面跳转功能 发布时间:2021-02-20 17:06:31 来源:亿速云 阅读:113 作者:Leah 本篇文章为大家展示了如何在Android中利用 ...

  9. android工程的建立,第一个Android项目HelloWorld的建立及剖析

    1.建立一个简单的Hello World程序 步骤1:启动Eclipse,选择 New->Other,如下图所示 步骤2:在出现的窗口中选择Android Project,如下图所示: 步骤3: ...

最新文章

  1. vuecli 编译后部署_基于vue-cli 打包时抽离项目相关配置文件详解
  2. MyEclipse 中配置struts2.2.1的方法
  3. php static 和 global,php中global static和$GLOBALS使用与区别
  4. 人工智能深度学习框架MXNet实战:深度神经网络的交通标志识别训练
  5. 如何备份和恢复oracle数据库
  6. Eclipse 常用快捷键-java
  7. 私人博客定制---服务器接口封装
  8. 常规sql读取CLOB
  9. qn模块java脚本_Qn271 对于网络编程 反射 IO 线程的一些一本入门程序 多多联系会加快 速度 WinSock-NDIS 269万源代码下载- www.pudn.com...
  10. 程序员内卷?连熬数夜肝出这份2021Java面试题核心知识点总结,近300页!
  11. centos6升级glibc-2.14没有报错,但是验证没有升级成功的问题解决
  12. linux对perl脚本加密,对Perl代码进行编译与加密
  13. 【交通标志识别】基于matlab GUI矩匹配算法路标识别【含Matlab源码 1175期】
  14. 数字电子技术基础(第六版)阎石 版 课后答案 课后题答案与解析 课后习题答案
  15. macbook解决软件无法安装的问题
  16. Unlocker-最好的顽固文件删除工具使用说明
  17. 使用Biopython访问NCBI's Entrez数据库
  18. ubuntu 安装咖啡壶-chemex命令详解
  19. 好评率过低的店铺在以后将越来越难以生存
  20. 乘2取整法_十进制小数转二进制小数乘2取整法的直观理解

热门文章

  1. android--系统jar包引用
  2. python pip国内源
  3. cnn 一维时序数据_一时序数据输入维cnn
  4. 伽蓝集团:用数据驱动增长的美妆行业引领者
  5. 从MVC到云原生:CBU研发体系演进之路
  6. 9大训练营免费开营!阿里云大数据团队的独门绝学全在这了
  7. 开放下载!《AliOS Things快速开发指南》
  8. 空无达摩院——机器智能技术的发展
  9. 跟随弹幕停不下来?智慧文娱还有哪些新玩法
  10. 开发笔记:掉落系统模块设计思路