Android Studio - Error:Unable to load class 'org.slf4j.LoggerFactory'
Go to File
-> Settings
-> Expand Build, Execution, Deployment
-> Select Build Tools
-> Gradle
-> Under Project Level Settings
Select Use default gradle wrapper
. Try Gradle build again and this worked for me.