gradle build error

Error:FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:transformClassesWithMultidexlistForDebug’. Can’t write [/DataPartition/erp Application/app/build/intermediates/multi-dex/debug/componentClasses.jar] (Can’t read [/Users/xtremehardware/.gradle/caches/transforms-1/files-1.1/support-core-ui-27.1.0.aar/b86a656311b6ba9b84cf292160b0cec9/jars/classes.jar(;;;;;;**.class)] (Duplicate zip entry [classes.jar:android/support/design/widget/CoordinatorLayout$Behavior.class]))

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at
    BUILD FAILED in 9s