Android Studio Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
2017-01-11 10:06
519 查看
最近在下载打开某些项目直接运行时遇见了几次这样的错误,一直build不过去,错误如下:
其实在点击运行的时候AS有提示,当时没注意直接点击的运行,
上面在点击了运行之后已经给出了提示当前的版本pro-release没有签名让选择一个签名的运行。我当时没注意直接点击了run
之后我点击了继续,然后它又提示了一次,我直接又yes了,最后当然是编译没有通过。
好了上面都是我的错误操作经验,下面说下遇见这种情况怎么解决
第一次运行时,点击build ——》select build variant
如果已经运行过了,在侧边栏寻找,在BuildVariant 的proRelease处点击选择其他版本进行运行,proRelease是根据你项目设置进行显示的并不固定。
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:associated EnclosingMethod attribute. This class was probably produced by a Error:(com.baidu.lbsapi.auth.d) that doesn't come with an Error:compiler that did not target the modern .class file format. The recommended Error:associated EnclosingMethod attribute. This class was probably produced by a Error:(com.baidu.android.bbalbs.common.util.c) that doesn't come with an Error:compiler that did not target the modern .class file format. The recommended Error:indicate that it is *not* an inner class. Error:solution is to recompile the class from source, using an up-to-date compiler Error:this warning is that reflective operations on this class will incorrectly Error:and without specifying any "-target" type options. The consequence of ignoring Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
其实在点击运行的时候AS有提示,当时没注意直接点击的运行,
上面在点击了运行之后已经给出了提示当前的版本pro-release没有签名让选择一个签名的运行。我当时没注意直接点击了run
之后我点击了继续,然后它又提示了一次,我直接又yes了,最后当然是编译没有通过。
好了上面都是我的错误操作经验,下面说下遇见这种情况怎么解决
第一次运行时,点击build ——》select build variant
如果已经运行过了,在侧边栏寻找,在BuildVariant 的proRelease处点击选择其他版本进行运行,proRelease是根据你项目设置进行显示的并不固定。
相关文章推荐
- 【Android】Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- android开发 签名打包时错误Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Android Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- android开发 项目运行时Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- AS编译问题:Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Androidstudio代码混淆Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- error:warning: ignoring innerclasses attribute for an anonymous inner class
- 百度地图Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.baidu.map
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class 错误怎么解决
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- 运行时候出现问题Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- 解决as打包签名的一系列错误Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- 对于解决androidstudio编辑时发生的错误Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- 编译超过2000+错误Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
- Error:warning: Ignoring InnerClasses attribute for an anonymous inner class