Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android [duplicate]

Can anyone tell me why I am receiving this error? I have downloaded a series of projects from GitHub for a Udacity course. Since there are about 50 or 60 projects (Exercises and Solutions) in the repo, I presume it has to do with the fact that each is an individual project on its own. I do not have a problem usually when I fork a repo and clone it locally.

I have read other posts about uninstalling and reinstalling ndk in the sdk. But I really want to know why this is happening and how I can fix without blindly uninstalling and re-installing. Any help is appreciated. Thanks.

like image 303
C0D3JUNKIE Avatar asked Sep 05 '18 20:09

C0D3JUNKIE


2 Answers

After looking around, the solution was to remove the NDK designation from my preferences.

Android Studio → Preferences → System Settings → Android SDK → SDK Tools → Unselect NDK → Apply button.

Project and Gradle compiled fine after that and I was able to move on with my project work.

As far as why this is happening, I do not know but for more info on NDK check out: https://developer.android.com/ndk/

I will go back and enable these libraries but for now.

like image 96
C0D3JUNKIE Avatar answered Nov 02 '22 23:11

C0D3JUNKIE


If you are using NDK >= 18 you have to update your android gradle plugin to >=3.1.x

See the Known Issues section:

https://android.googlesource.com/platform/ndk/+/ndk-release-r18/CHANGELOG.md

like image 23
Thomas S. Avatar answered Nov 03 '22 01:11

Thomas S.