I get the following error when I tried to build my project. I\'m using Android Studio 2.3.3 and macOS High Sierra.
Error:Execution failed for task \':app:tra
After updating gradle distribution in gradle-wrapper.properties file problem is solved.
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-all.zip
check the latest from here.