Execution failed for task ':app:mergeDebugResources' when building project on Jenkins Execution failed for task ':app:mergeDebugResources' when building project on Jenkins jenkins jenkins

Execution failed for task ':app:mergeDebugResources' when building project on Jenkins


Run following commands from your jenkins terminal.

    gradlew clean    gradle assembleDebug

If above command does not work, then delete gradle folder.

    rm -rf C:\Windows\System32\config\systemprofile\.gradle

and then build using command

    gradle assembleDebug