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

来源:互联网 发布:js正则验证用户名 编辑:程序博客网 时间:2024/04/20 21:22

转自:http://blog.csdn.net/nwsuafer/article/details/42121521

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

将eclipse中

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

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

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


0 0
原创粉丝点击