I build with android simple project and here is source code.
https://github.com/FightJames/BuckBuildPractice/tree/need-fix
Somehow, I upgrade constraintlayout from 1.1.3 to 2.0.1. It will tell me attribute has already been defined. I have no idea what wrong with this and the build pass by Gradle.
Does anyone help ?
buck-out/bin/app/src/main/java/com/james/builddemo/__unpack_android-constraintlayout#aar_unzip__/res/values/values.xml:335: error: Attribute "android:alpha" has already been defined
buck-out/bin/app/src/main/java/com/james/builddemo/__unpack_android-constraintlayout#aar_unzip__/res/values/values.xml:338: error: Attribute "android:translationX" has already been defined
buck-out/bin/app/src/main/java/com/james/builddemo/__unpack_android-constraintlayout#aar_unzip__/res/values/values.xml:338: error: Attribute "android:translationY" has already been defined
buck-out/bin/app/src/main/java/com/james/builddemo/__unpack_android-constraintlayout#aar_unzip__/res/values/values.xml:338: error: Attribute "android:translationZ" has already been defined
Parsing buck files: finished in 1.3 sec
Building: finished in 9.4 sec (100%) 134/135 jobs, 134 updated
Total time: 11.0 sec
Command failed with exit code 1.
command: [/Users/jameslin/Library/Android/sdk/build-tools/30.0.2/aapt, package, -f, -G, buck-out/gen/app/app#aapt_package,dex/proguard/proguard.txt, --auto-add-overlay, -S, buck-out/bin/app/src/main/java/com/james/builddemo/__unpack_android-vectordrawable#aar_unzip__/res, -S, buck-out/bin/app/src/main/java/com/james/builddemo/_...
<truncated>
...
stderr: buck-out/bin/app/src/main/java/com/james/builddemo/__unpack_android-constraintlayout#aar_unzip__/res/values/values.xml:335: error: Attribute "android:alpha" has already been defined
buck-out/bin/app/src/main/java/com/james/builddemo/__unpack_android-constraintlayout#aar_unzip__/res/values/values.xml:338: error: Attribute "android:translationX" has already been defined
buck-out/bin/app/src/main/java/com/james/builddemo/__unpack_android-constraintlayout#aar_unzip__/res/values/values.xml:338: error: Attribute "android:translationY" has already been defined
buck-out/bin/app/src/main/java/com/james/builddemo/__unpack_android-constraintlayout#aar_unzip__/res/values/values.xml:338: error: Attribute "android:translationZ" has already been defined
When running <aapt_package>.
When building rule //app:app#aapt_package,dex.
I build with android simple project and here is source code. https://github.com/FightJames/BuckBuildPractice/tree/need-fix Somehow, I upgrade constraintlayout from 1.1.3 to 2.0.1. It will tell me attribute has already been defined. I have no idea what wrong with this and the build pass by Gradle. Does anyone help ?