大佬教程收集整理的这篇文章主要介绍了android设计库gradle空指针异常,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
dependencies { compile fileTree(include: ['*.jar'],dir: 'libs') compile 'com.android.support:design:22.2.0' compile 'com.android.support:support-Annotations:22.0.0' compile 'com.android.support:support-v13:22.1.1' compile 'com.android.support:recyclerview-v7:22.1.1' compile 'com.android.support:cardview-v7:22.1.0' }
我越来越
Error:Android Gradle Build Target: java.lang.NullPointerException
删除com.android.support:design:22.2.0(并添加回v4和AppCompat)时,构建成功.
Another similar issue对我没有帮助
请注意,我正在使用Intellij 14构建
`Error:(1) Attribute "insetForeground" has already been defined`
因此,如果有人正在运行IntelliJ 14,直到下一次更新Intellij 14,我想使用android studio 1.3更安全. (或者至少使用android studio检查错误.
>转到attr.xml并删除declare-styleable name =“ScrimInsetsView”
>使用ctrl-shift-f搜索insetF并从包含此类属性的所有布局中删除app:insetForeground属性.
一切都应该工作好了
以上是大佬教程为你收集整理的android设计库gradle空指针异常全部内容,希望文章能够帮你解决android设计库gradle空指针异常所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。