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?
Android Studio 2.2 installs it in C:\Users\[username]\AppData\Local\Android\Sdk\ndk-bundle (on Windows 10).
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With