0
votes

I am getting the following error:

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

2
If have some some hypothesys, please, can you share in the question, giving us more details? Thank youalepuzio
Show the code that produces this error...Marcus
I had downloaded a project from gitlab and when I tried to compile it gave me the error in question. I was able to solve as reported in the answer. Thank you all.Baby
Presumably you have a project that contains some native code, and you haven't set an abiFilter (or your abiFilter includes all ABIs, even obsolete ones). Building for MIPS is no longer supported so you must set your abiFilter to exclude it.Michael

2 Answers

2
votes

In the build.gradle (Project: XXX) file, in dependencies I updated the classpath as follows:

classpath 'com.android.tools.build:gradle:3.2.1'

Note: you have to enter the most recent version

1
votes

I had the same problem (a very unexpected "No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android") when I opened an old project, and fixed it by updating some build settings:

Replace

classpath 'com.android.tools.build:gradle:3.0.1'

to

classpath 'com.android.tools.build:gradle:3.2.1'