Menu

Erreur pour emuler mon projet ionic

- - Dernière réponse : BunoCS
Messages postés
14275
Date d'inscription
lundi 11 juillet 2005
Statut
Modérateur
Dernière intervention
10 décembre 2018
- 5 déc. 2018 à 11:13
Bonjour,

je n'arrive pas à tester mon projet ionic avec un émulateur android pareil pour cordova
voila l'erreur qu'on m'affiche:

ionic-app-scripts build --target cordova --platform android
[12:18:43] ionic-app-scripts 3.2.0
[12:18:43] build dev started ...
[12:18:43] clean started ...
[12:18:44] clean finished in 140 ms
[12:18:44] copy started ...
[12:18:45] deeplinks started ...
[12:18:45] deeplinks finished in 69 ms
[12:18:45] transpile started ...
[12:19:07] transpile finished in 22.25 s
[12:19:07] preprocess started ...
[12:19:07] preprocess finished in 1 ms
[12:19:07] webpack started ...
[12:19:09] copy finished in 25.54 s
[12:19:19] webpack finished in 12.23 s
[12:19:19] sass started ...
[12:19:29] sass finished in 9.14 s
[12:19:29] postprocess started ...
[12:19:29] postprocess finished in 105 ms
[12:19:29] lint started ...
[12:19:29] build dev finished in 46.18 s
[12:19:36] lint finished in 7.51 s
> cordova build android
Android Studio project detected
ANDROID_HOME=C:\Users\DOKPORO\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\java\jdk1.8.0_181
studio
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 18s
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 18s
[ERROR] An error occurred while running subprocess cordova.

cordova build android exited with exit code 1.

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

Votre réponse

1 réponse

Messages postés
14275
Date d'inscription
lundi 11 juillet 2005
Statut
Modérateur
Dernière intervention
10 décembre 2018
0
Merci
Bonjour,

Il faut mettre à jour Android Studio et Gradle
j'ai fait la mise à jour d'Android Studio et de Gradle mais ça ne fonctionne toujours par
BunoCS
Messages postés
14275
Date d'inscription
lundi 11 juillet 2005
Statut
Modérateur
Dernière intervention
10 décembre 2018
-
avec la même erreur ?
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
Commenter la réponse de BunoCS