ionic-team / ionic-team/ionic-cli
ionic cordova run android --livereload does not work with a default project
- Linguagem predominante
- TypeScript
- Estrelas
- 2k
- Forks
- 682
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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:

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
```

I'm using VScode with Git Bash on Windows 10.
Guia de contribuição
Direção de pesquisa
Start by reproducing the default project with `ionic cordova run android --livereload` on Windows 10 using Git Bash, then compare it with the successful command without `--livereload`. Trace the CLI entry point that invokes `native-run` and inspect the emulator's white-screen behavior; done means the default Android app launches with live reload enabled.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- android, typescript
- Domínio
- cli, mobile
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100