ionic-team / ionic-team/ionic-cli

ionic cordova run android doesn't perform with livereload: cordova_not_available

Ouverte
#4,407 9 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
triage
Langage dominant
TypeScript
Étoiles
2k
Forks
682
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**Description:**
I'm running the command `ionic cordova run android --emulator --livereload` to emulate the application on an Android emulator, the native functions are stopping and have the following error message on the console `cordova_not_available`. For example, when I try to open the camera

But when I remove the command `--livereload` , the native functions return to working normally.

**My `ionic info`:**
```
Ionic:

Ionic CLI : 5.4.15 (/usr/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 5.0.0
@angular-devkit/build-angular : 0.901.1
@angular-devkit/schematics : 8.3.25
@angular/cli : 9.1.1
@ionic/angular-toolkit : 2.1.2

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0, browser 6.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 11 other plugins)

Utility:

cordova-res : not installed
native-run (update available: 1.0.0) : 0.3.0

System:

Android SDK Tools : 26.1.1 (/home/iann/Android/Sdk)
NodeJS : v12.14.1 (/home/iann/.nvm/versions/node/v12.14.1/bin/node)
npm : 6.13.6
OS : Linux 4.15
```

**Other Information:**

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.