Warning:Ignoring InnerClasses attribute for an anonymous inner class 解决

用AS导入eclipse项目,你可能碰到以下的报错

Warning:Ignoring InnerClasses attribute for an anonymous inner class 解决_第1张图片

解决方案:

再build.gradle文件中添加一行代码既可以解决,

testCompile "com.squareup.leakcanary:leakcanary-Android-no-op:1.4-beta2"

如下图所示:

Warning:Ignoring InnerClasses attribute for an anonymous inner class 解决_第2张图片

ps:我的博客:http://blog.csdn.NET/shenshizhong

       我的:http://www.jianshu.com/users/345daf0211ad/latest_articles

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