【发布时间】:2013-06-13 09:37:10
【问题描述】:
将现有应用程序移植到 gradle 构建系统并从 命令行 进行构建时出现以下错误
error: No resource identifier found for attribute 'ignore_vertical_scroll' in package 'com.example.dummyapp'
现在'ignore_vertical_scroll' 是在attrs.xml 中定义的自定义属性,在xmlns:abc="http://schemas.android.com/apk/res-auto" 的布局中将其用作abc:ignore_vertical_scroll="true"
到目前为止,我读到的是 ADT 17.0 中添加了此 URI,以缓解自定义组件中的包名称问题。不知道这在 gradle 中是如何翻译的。
【问题讨论】:
标签: android gradle android-studio build.gradle