Introduce a project and prompt this error after configuring the NDK
the reason for this error is that mipsel Linux Android is officially not recommended, so gradle is not supported, but it will cause the compilation of the old version to fail.
Open project structure , view the path of NDK under SDK loading , open the path in the folder 
enter the toolchains folder to view, and there are no error files

Method 1 (invalid)
This method is invalid because there is no mipsel in the new version of NDK
the official download requires the version of NDK, then unzip it, find the mipsel Linux Android folder under the toolchains folder under the NDK directory, and put it into the toolchains folder of the local NDK

Method 2 (redirect directory)
Windows executes the following under the toolchains directory, provided that arm linux android-4.9 is an existing directory under toolchains
mklink /j mipsel-linux-android arm-linux-androideabi-4.9
Execute under Linux
ln -sf arm-linux-androideabi-4.9 mipsel-linux-android
After execution, the link is established successfully.
An error is reported after rebuild no toolchains found in the NDK toolchains folder for ABI with prefix: mips64el Linux Android , continue to perform the above operations, and associate mips64el Linux Android with aarch64 Linux android-4.9

Method 3 (upgrade gradle)
Upgrade the gradle version to 3.1.3 or above without testing. It can also be solved by checking that someone passes this method
Error: expected caller to ensure valid ABI: MIPS
After solving the above problem sync, continue to report errors:
Error:Expected caller to ensure valid ABI: MIPS
Solution (Reference): add in defaultconfig in app/build.gradle
ndk {
abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
}
Read More:
- Gradlew compilation error: mips64el Linux Android strip
- Android studio NDK setting is gray and cannot be solved
- 26、Error:No resource identifier found for attribute ’roundIcon’ in package ‘android’
- Method of modifying file and folder permission by Chmod command in Linux
- Delete files with specified suffix in specified folder under Linux
- Linux shell gets the file name under the folder
- “Not a valid NDK directory” appears when eclipse ADT selects the NDK directory
- In J2EE Tomcat webapps, there are only folder directories and no files
- Configuration: error: no acceptable C compiler found in $path error in Linux installation file
- Android studio compilation error: style attribute ‘@ android:attr/windowEnterAnimation ‘not found the ultimate solution
- [Fixed] Error:(3) Error retrieving parent for item: No resource found that matches the given name ‘android’
- Linux view folder size, remaining disk space (DU / DF)
- Android Studio | Failed to find target with hash string ‘android-26’ in: D:\Android\sdk
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- Alpine Linux executable file crash report error / lib / x86 not found_ 64 Linux GNU / libc.so solution
- Android Error | Failed to find target with hash string ”android-23′ in…
- Android studio reported an error in the release package: Lint found fatal errors while assembling a release target
- The out folder does not appear under the idea project. Set the entire compilation information to the target folder
- PackageNotInstalledError: Package is not installed in prefix
- Android network request framework okhttputils reports an error (okhttp3 cannot be found)