Tuesday, March 19, 2019

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


This error comes due to NDK version mismatch, To resolve this error you have to download an older version of NDK and need to remap NDK path. Then you can build the project successfully. To do this please follow the below steps -

1. First, you need to open the NDK downloader page. You can open by using below URL -
https://developer.android.com/ndk/downloads/

2. Now at the bottom of this page, you can see "older versions of the NDK" and click on "NDK Archives" tag to see all older versions.



3. Agree with the Terms from this page by clicking on "I agree to the terms" button. After this, you can see all older versions of NDk.



4. Download your NDK older version from this list. In my case, it was "Android NDK, Revision 14b".



5. Open Android NDK location directory. You can check location from File -> Project Structure -> SDK location. Check below image for more information -



6. Now, Extract file which you have downloaded and move that folder in toolchains folder - (Or you can delete toolchain folder and past our recent downloaded toolchain on this location)



7. After this, you need to rebuild the project. 



This will resolve your issue. In some case, you can also try below solution -

Open Android Studio and go to File -> Project Structure -> SDK location, uncheck NDK If you do not need this, and then restart android studio. This will resolve your issue.


Please post a comment if you are still having an issue in this. I will try to resolve that issue.

No comments:

Post a Comment