gpt4 book ai didi

android - ANDROID STUDIO BUILD错误org.gradle.internal.UncheckedException:java.util.concurrent.ExecutionException

转载 作者:行者123 更新时间:2023-12-03 04:18:17 25 4
gpt4 key购买 nike

我在Android Studio 3.2上遇到这种错误
以下是我的logcat

org.gradle.internal.UncheckedException: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed
Output: D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:786: error: duplicate value for resource 'attr/navigationMode' with config ''.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:786: error: resource previously defined here.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:795: error: duplicate value for resource 'attr/displayOptions' with config ''.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:795: error: resource previously defined here.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:958: error: duplicate value for resource 'attr/layout_scrollFlags' with config ''.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:958: error: resource previously defined here.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1014: error: duplicate value for resource 'attr/tickMarkTintMode' with config ''.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1014: error: resource previously defined here.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1169: error: duplicate value for resource 'attr/actionBarSize' with config ''.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1169: error: resource previously defined here.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1478: error: duplicate value for resource 'attr/behavior_peekHeight' with config ''.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1478: error: resource previously defined here.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1517: error: duplicate value for resource 'attr/collapsedTitleGravity' with config ''.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1517: error: resource previously defined here.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1538: error: duplicate value for resource 'attr/expandedTitleGravity' with config ''.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1538: error: resource previously defined here.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1560: error: duplicate value for resource 'attr/layout_collapseMode' with config ''.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1560: error: resource previously defined here.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1581: error: duplicate value for resource 'attr/buttonTintMode' with config ''.
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1581: error: resource previously defined here.
Command: C:\Users\user\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.0-4818971-windows.jar\a30cb4bf0ed73f1c105add4760ddc4a7\aapt2-3.2.0-4818971-windows\aapt2.exe compile --legacy \
-o \
D:\Ticketing\app\build\intermediates\res\merged\debug \
D:\Ticketing\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml
Daemon: AAPT2 aapt2-3.2.0-4818971-windows Daemon #0

最佳答案

如您的日志所述,这是您的资源冲突问题,您可以通过快捷键Crtl + shift + F搜索冲突的资源名称,您将找到两个或更多资源并删除一些资源,这将解决您的问题。

关于android - ANDROID STUDIO BUILD错误org.gradle.internal.UncheckedException:java.util.concurrent.ExecutionException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52818227/

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