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

119 阅读1分钟

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

将eclipse中

 

 

http://schemas.android.com/apk/res/com.xxx.xxx 


换成

 

 

http://schemas.android.com/apk/res-auto 


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