[Android] More than one file was found with OS independent path 'META-INF/XXXX' Troubleshooting

[Android] More than one file was found with OS independent path 'META-INF/XXXX' Troubleshooting

Goal

  • To solve More than one file was found with OS independent path ‘META-INF/XXXX’ error


Practice

Problem

  • When I built my Android project, I saw this error message.

screenshot001


Solution

  • Add option in your project’s build.gradle
    • in android { … }

screenshot002



References

StackOverflow

댓글남기기

-->