在下面,这是我尝试构建应用时遇到的问题。我尝试了很多事情,但无法解决。
Android资源编译失败
输出:D:\ ashish android \ DreamTouchIndia \ app \ build \ intermediates \ incremental \ mergeDebugResources \ merged.dir \ values \ values.xml:2582:错误:资源'attr / theme'的重复值与config'' 。 D:\ ashish android \ DreamTouchIndia \ app \ build \ intermediates \ incremental \ mergeDebugResources \ merged.dir \ values \ values.xml:2582:错误:先前在此处定义的资源。
命令:
C:\Users\hp\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\3b90f5710266fb9a4db1b900d48eb915\aapt2-3.2.1-4818971-windows\aapt2.exe compile --legacy \
-o \
D:\ashish android\DreamTouchIndia\app\build\intermediates\res\merged\debug \
D:\ashish android\DreamTouchIndia\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml
Daemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #2
答案 0 :(得分:0)
检查模块gradle。您可以定义两次依赖关系