ionic-team / ionic-team/ionic-cli

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

Đang mở
#4,407 9 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.