Error when running "ionic cordova build android --prod --release" in Terminal


#1

I get the following error when trying to build an Android project. This started recently, I believe after I updated to Android Studio 3.2.1. I am using macOS Mojave and Ionic 4.3.1.

FAILURE: Build failed with an exception.

  • What went wrong:

A problem occurred configuring root project ‘android’.

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

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 8.943 secs

Error: /Users/waynedocuwrx/desktop/apps/dcf_document_direct/platforms/android/gradlew: Command failed with exit code 1 Error output:

FAILURE: Build failed with an exception.

  • What went wrong:

A problem occurred configuring root project ‘android’.

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