ionic-team / ionic-team/ionic-cli

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

Abierto
#4,407 9 comentarios 0 reacciones 0 asignados Ver en GitHub
triage
Lenguaje dominante
TypeScript
Estrellas
2k
Forks
682
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**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:**

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.