AndroidStudio自定义属性xmlns无法识别问题解决in Gradle projects,always use http://schemas.android.com/apk/res-auto

来源:互联网 发布:ubuntu c语言调试工具 编辑:程序博客网 时间:2024/04/24 06:04

正如in Gradle projects,always usehttp://schemas.android.com/apk/res-auto for custom attributes所说的

将eclipse中

[html] view plaincopy在CODE上查看代码片派生到我的代码片
  1. http://schemas.android.com/apk/res/com.xxx.xxx  
换成
[html] view plaincopy在CODE上查看代码片派生到我的代码片
  1. http://schemas.android.com/apk/res-auto  

这样Gradle就会自动查找自定属性的


原文地址:http://blog.csdn.net/nwsuafer/article/details/42121521

0 0