ionic-team / ionic-team/ionic-cli

ionic cordova run android --livereload does not work with a default project

Đang mở
#4,168 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ả

I have start a project with this:
```
nvm install 10.16.3
nvm use 10.16.3
npm install -g ionic
npm install -g cordova
ionic start myApp tabs --cordova
cd myApp
ionic cordova run android --livereload
```

Without `--livereload` the app works:

![2019-09-30_10h07_50](https://user-images.githubusercontent.com/3032555/65860249-2f3bd680-e36a-11e9-863b-16935b86db66.png)

But with `--livereload` I have just a white screen and this:
```
BUILD SUCCESSFUL in 2s
42 actionable tasks: 42 up-to-date
Built the following apk(s):
C:\test\myApp\platforms\android\app\build\outputs\apk\debug\app-debug.apk
> native-run.cmd android --app platforms\android\app\build\outputs\apk\debug\app-debug.apk
[native-run] No hardware devices found, attempting emulator...
[native-run] Selected emulator emulator-5554
[native-run] Installing platforms\android\app\build\outputs\apk\debug\app-debug.apk...
[native-run] Starting application activity io.ionic.starter/io.ionic.starter.MainActivity...
[native-run] Run Successful
```
![image](https://user-images.githubusercontent.com/3032555/65860295-4975b480-e36a-11e9-8658-421e7983c288.png)

I'm using VScode with Git Bash on Windows 10.

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.