Gradle project sync fail, no toolchains

前端 未结 5 1005
借酒劲吻你
借酒劲吻你 2021-01-18 23:29

Hello I\'m getting this error in android studio :

Gradle project sync failed. Basic functionality (editing, debugging) will not work properly

And in messages

5条回答
  •  暖寄归人
    2021-01-19 00:03

    As MustafaKemal, I canceled an NDK update, and after that I got the Gradle sync error message.

    What solved my problem: on Android Studio go to Tools -> Android -> SDK manager -> SDK Tool and uncheck the Android NDK checkbox, then Apply.

    After that, open the item again and check it and apply to reinstall it.

    then be patient, it might seem the installation is stuck whilst unzipping a file but after a while, a long while, it finishes.

提交回复
热议问题