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

前端 未结 2 1060
没有蜡笔的小新
没有蜡笔的小新 2021-01-12 14:31

I\'m new in the Android world. I opened studio Android 2.2 and, after creating a new project, I get this error message:

Failed to sync Gradle

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-12 15:21

    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

提交回复
热议问题