[Question]: ImergeDebugResources-17:/values/values.xml:3874: error: style attribute 'android:attr/customOperation1' not found. error: failed linking references. #1187
Labels
P3
Issues that we currently consider unimportant.
platform: android
Issue is related to the Android platform.
type: question
Issue contains a question about the project
Please check the following before submitting a new issue.
Please select for which platform(s) you need help
Your question
mergeDebugResources-17:/values/values.xml:3874: error: style attribute 'android:attr/customOperation1' not found.
error: failed linking references.
I met above compile error while compile my demo apk when I want to use the attrs added by myself in /frameworks/base/core/res/res/values/attrs.xml and public.xml .
In framework I add atts customOperation1 and framework compile OK, and then I configured dependence of classes.jar in Android Studio gradle file . But when I uses the attrs customOperation1 in my demo apk's theme , there's above error.
Something more : I added some interfaces in framework and configured classes.jar in my demo apk project ,and it can compile well. And also no problem at runtime when I called the interfaces added in framework.
So why the added attrs can not work ? Anyone any suggestions ?
Version
1
The text was updated successfully, but these errors were encountered: