Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android how fix it?

iam trying build cordova app, and return this menssage:

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

(I am using Windows 10 SO)

Anyone can help me?

like image 228
Sidnei Sanches Avatar asked Nov 12 '18 17:11

Sidnei Sanches


People also ask

Where is Android ndk installed Windows 10?

Android Studio 2.2 installs it in C:\Users\[username]\AppData\Local\Android\Sdk\ndk-bundle (on Windows 10).

How do I downgrade ndk version?

In order to downgrade your ndk, you will have to pull it from the internet with wget and move it into your Android SDK dir: wget https://dl.google.com/android/repository/android-ndk-r13b-darwin-x86_64.zip. unzip android-ndk-r13b-darwin-x86_64. zip.


1 Answers

There's a workaround for this in this Github issue comment as well as more detail surrounding the error in the issue itself, but in essence do this:

Linux

mkdir -p $ANDROID_HOME/ndk-bundle/toolchains/mips64el-linux-android/prebuilt/linux-x86_64

MacOS

mkdir -p $ANDROID_HOME/ndk-bundle/toolchains/mips64el-linux-android/prebuilt/darwin-x86_64

Windows

mkdir %ANDROID_HOME%\ndk-bundle\toolchains\mips64el-linux-android\prebuilt\windows-x86_64

The ANDROID_HOME environment variable points to the root of the Android SDK installation.

like image 70
DaveAlden Avatar answered Oct 21 '22 22:10

DaveAlden