publishNonDefault is deprecated and has no effect anymore. All variants are now published


#1

Hi.
After having several problems with Ubuntu. I have just back to windows.
Three weeks ago I build a pair of IOnic Aplication. But after I have installed the all packages to work with ionic I have errors. I searched fot differents forums but I am not able to solve the problem.

Firlstly, Thanks in advance.

My System Information

E:\ionic\prueba>ionic info
√ Gathering environment info - done!

Ionic:

   ionic (Ionic CLI)  : 4.3.0 (C:\Users\Admin\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.0

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : android 7.1.1
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 4 other plugins)

System:

   NodeJS : v10.13.0 (C:\Program Files\nodejs\node.exe)
   npm    : 6.4.1
   OS     : Windows 10

my error when I execute(ionic cordova build android)

Android Studio project detected
ANDROID_HOME=C:\Users\Admin\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\java\jdk1.8.0_191
studio
:wrapper

BUILD SUCCESSFUL in 1s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
publishNonDefault is deprecated and has no effect anymore. All variants are now published.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':CordovaLib'.
> No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

* 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 1s
cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':CordovaLib'.
> No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

* 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 1s
[ERROR] An error occurred while running subprocess cordova.

        cordova run android exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.

I have tried with differents versions.

ionic cordova platform add android and android@6.4.0
ionic cordova build android and ionic cordova run android


#2

is this solved ?
I have the same issue