gpt4 book ai didi

android - 资源 'attr/pivotX' 与配置 ' ' 的重复值

转载 作者:行者123 更新时间:2023-12-03 02:48:00 25 4
gpt4 key购买 nike

一个月后,启动 Android Studio 并与 Gradle 同步,弹出此错误。重建/清理项目不起作用并再次显示相同的错误。

我试图重建/清理并使项目无效/重新启动,但似乎没有任何效果。我已经在这个网站上搜索了这个问题,但似乎仍然没有任何效果。如果有人帮我解决这个问题,那就太好了,因为我被卡住了,无法提供更新我的应用程序。
Android resource compilation failed
Output: E:\Play Store Listings\Notepedia\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2616: error: duplicate value for resource 'attr/pivotX' with config ''.
E:\Play Store Listings\Notepedia\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2616: error: resource previously defined here.
E:\Play Store
Listings\Notepedia\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2616: error: duplicate value for resource 'attr/pivotY' with config ''.
E:\Play Store Listings\Notepedia\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2616: error: resource previously defined here.
Command: C:\Users\Taseer.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\8dd90688e4f5a22b34a1a148f45c2455\aapt2-3.2.1-4818971-windows\aapt2.exe compile --legacy \
-o \
E:\Play Store Listings\Notepedia\app\build\intermediates\res\merged\debug \
E:\Play Store Listings\Notepedia\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml
Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0

编辑:这是导致错误的地方:Image

编辑 2:下载链接(文件已删除)

最佳答案

就我而言,我尝试实现约束布局的新版本(在 gradle 中)

实现 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3'

我得到这个错误。我不想编辑任何属性,我确实恢复到稳定版本

实现 'androidx.constraintlayout:constraintlayout:1.1.3'

并且错误消失了。

关于android - 资源 'attr/pivotX' 与配置 ' ' 的重复值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54211854/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com