Appid: UNIA4000DD
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:processReleaseResources'.A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
Android resource linking failed
ERROR: /home/[Name]/.gradle/caches/8.11.1/transforms/7c244e069981644ffcd2cbacaf96506a/transformed/jetified-uniplugin_senter_scan-release/res/layout/activity_main.xml:16: AAPT: error: attribute layout_constraintTop_toTopOf (aka uni.UNIA4000DD:layout_constraintTop_toTopOf) not found.
ERROR: /home/[Name]/.gradle/caches/8.11.1/transforms/7c244e069981644ffcd2cbacaf96506a/transformed/jetified-uniplugin_senter_scan-release/res/layout/activity_main.xml:16: AAPT: error: attribute layout_constraintStart_toStartOf (aka uni.UNIA4000DD:layout_constraintStart_toStartOf) not found.
ERROR: /home/[Name]/.gradle/caches/8.11.1/transforms/7c244e069981644ffcd2cbacaf96506a/transformed/jetified-uniplugin_senter_scan-release/res/layout/activity_main.xml:16: AAPT: error: attribute layout_constraintEnd_toEndOf (aka uni.UNIA4000DD:layout_constraintEnd_toEndOf) not found.
ERROR: /home/[Name]/.gradle/caches/8.11.1/transforms/7c244e069981644ffcd2cbacaf96506a/transformed/jetified-uniplugin_senter_scan-release/res/layout/activity_main.xml:27: AAPT: error: attribute layout_constraintStart_toStartOf (aka uni.UNIA4000DD:layout_constraintStart_toStartOf) not found.
ERROR: /home/[Name]/.gradle/caches/8.11.1/transforms/7c244e069981644ffcd2cbacaf96506a/transformed/jetified-uniplugin_senter_scan-release/res/layout/activity_main.xml:27: AAPT: error: attribute layout_constraintEnd_toEndOf (aka uni.UNIA4000DD:layout_constraintEnd_toEndOf) not found.
ERROR: /home/[Name]/.gradle/caches/8.11.1/transforms/7c244e069981644ffcd2cbacaf96506a/transformed/jetified-uniplugin_senter_scan-release/res/layout/activity_main.xml:27: AAPT: error: attribute layout_constraintTop_toBottomOf (aka uni.UNIA4000DD:layout_constraintTop_toBottomOf) not found.
且package.json中已引入
"dependencies": [
"androidx.constraintlayout:constraintlayout:2.1.4"
] ,
0 个回复