简体   繁体   中英

Android resource compilation failed 3

Below this, is my issue in my App when try to built it. I've tried lots of things but was unable to solve it.

Android resource compilation failed

Output: D:\\ashish android\\DreamTouchIndia\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:2582: error: duplicate value for resource 'attr/theme' with config ''. D:\\ashish android\\DreamTouchIndia\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:2582: error: resource previously defined here.

Command:

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

check your module gradle . you may define dependency twice

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM