MediumAppFlutter icon indicating copy to clipboard operation
MediumAppFlutter copied to clipboard

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

Open pahosler opened this issue 6 years ago • 5 comments

I'm getting this in cli from flutter run ubuntu 18.10 AMD CPU all flutter and android files updated as of 2019/01/15

pahosler avatar Jan 15 '19 10:01 pahosler

same in studio

pahosler avatar Jan 15 '19 10:01 pahosler

reference https://github.com/google/filament/issues/15 states mips64-el-linux-android is deprecated since 17

pahosler avatar Jan 16 '19 07:01 pahosler

not sure if there is a better fix for this but here goes

download android-ndk-r16b unzip cp -r android-ndk-r16b/toolchains/mips64el-linux-android-4.9 ~/Android/Sdk/ndk-bundle/toolchains/

cd to project folder flutter run

pahosler avatar Jan 16 '19 07:01 pahosler

I think a flutter clean and/or an upgrade would do the trick. Don't see any code that would affect the NDK in this project.

d3xvn avatar Feb 01 '19 19:02 d3xvn

while researching a fix I did both flutter clean and upgrade, did not resolve the issue. The only resolution was adding the NDK. My guess is an iml is using something pre ver 17

pahosler avatar Feb 02 '19 08:02 pahosler