Android Studio - Error:Unable to load class 'org.slf4j.LoggerFactory'

泄露秘密 提交于 2019-12-01 04:28:41
SREE

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.

huaguang

I solve this by following steps

  1. download the newest version of gradle in this site: http://download.csdn.net/download/fallingwind/9604349

  2. replace folder "disk-label://android-studio/gradle" with the download file(unarchive first).

  3. restart AS

  4. if it doesn't work, you can change the environment path of gradle.exe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!