10

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?

Sidnei Sanches
  • 101
  • 1
  • 3

2 Answers2

40

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.

HoldOffHunger
  • 18,769
  • 10
  • 104
  • 133
DaveAlden
  • 30,083
  • 11
  • 93
  • 155
0

The solution for me is rename ~/Library/Android/sdk/ndk-bundle to ~/Library/Android/sdk/ndk-bundle-back and reverse to use in Android Studio.

Alex Escobar
  • 96
  • 1
  • 9