Warning:warning: Ignoring InnerClasses attribute for an anonymous inner class

遇到了一个莫名其妙的问题有,引用第三方RxTools时弹出:Warning:warning: Ignoring InnerClasses attribute for an anonymous inner class

(com.alipay.android.phone.mrpc.core.AndroidHttpClient$1) that doesn't come with an

associated EnclosingMethod attribute. This class was probably produced by a

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

this warning is that reflective operations on this class will incorrectly

indicate that it is *not* an inner class.

。。。下面还有好多


显示的问题是环境配置存在这问题,后来查找好多资料,找到了问题的解决办法,在build.gradle中,添加

defaultConfig {,

    multiDexEnabledtrue

}

你可能感兴趣的:(Warning:warning: Ignoring InnerClasses attribute for an anonymous inner class)