Gradle project synchronization error, no tools

Hello, I get this error in android studio:

Gradle Project sync error. Basic functions (editing, debugging) will not work properly

And in the posts I get the following:

Gradle failed to synchronize: there are no toolboxes in the NDK program set folder for ABI with a prefix: arm-linux-androideabi

I was looking for a solution, but I did not find it.

Hope someone here can help me.

+5
source share
3 answers

Like MustafaKemal, I canceled the NDK update, after which I received a Gradle error message.

What solved my problem: on Android Studio, go to Tools → Android → SDK Manager → SDK Tool and uncheck Android NDK, then Apply.

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

then be patient, it may seem that the installation is stuck while unpacking the file, but after a while it ends.

+6
source

I had the same problem because I canceled the NDK update and unpacked it because it took a lot of time ... I solved the problem by deleting the NDK - bundle folder in /Users/..../Library/Android/sdk and reinstall it. But it took almost 3-4 hours :(

0
source

Your Android studio does not include NDK. You can solve this problem.

Android Studio → Tools → Android → SDK Manager → SDK Tool

Here you must install the NDK.

0
source

Source: https://habr.com/ru/post/1247560/


All Articles