Android : No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
少し古い Flutter のアプリをビルドしようとしたところ発生。build.gradle の
classpath 'com.android.tools.build:gradle:3.0.1'
となっていた箇所を 3.2.0 に変えたら、このエラーは解消したものの以下の別のエラーが出現。
* What went wrong: A problem occurred evaluating project ':app'. > Failed to apply plugin [id 'com.android.application'] > Minimum supported Gradle version is 4.6. Current version is 4.1. If using the gradle wrapper, try editing the distributionUrl in <プロジェクトのディレクトリ>\android\gradle\wrapper\gradle-wrapper.properties to gradle-4.6-all.zip * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. * Get more help at https://help.gradle.org BUILD FAILED in 1m 16s Finished with error: Please review your Gradle project setup in the android/ folder.
指示に従い、gradle-wrapper.properties で gradle-4.6-all.zip を使うように修正したところ、ビルドが通るようになりました(いくつかの「registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)」というメッセージは残ったまま)。