NativeScript / nativescript-angular

Integrating NativeScript with Angular
http://docs.nativescript.org/angular/tutorial/ng-chapter-0
Apache License 2.0
1.22k stars 241 forks source link

Nativescript 8 is not syncing with emualtor + emulators are not detected on ns run android if not powered before #2349

Open kokosky93 opened 3 years ago

kokosky93 commented 3 years ago

I generated sample project with ns create name --template angular when I start the project with ns run android and I didn't run emulator with AVD Manager before I get the following error:

Searching for devices... Cannot find connected devices. Emulator start failed with: No emulator image available for device identifier 'undefined'. To list currently connected devices and verify that the specified identifier exists, run 'tns device'. To list available emulator images, run 'tns device --available-devices'.

If I run emulator manually and then execute ns run android there is no error and app is installed on android emulator however its not powering up and its not syncing with changes in VS Code.

Everything used to work for me with NativeScript 6.

"@nativescript/android": "8.0.0",
"@nativescript/types": "~8.0.0",
"@nativescript/webpack": "beta",
"@ngtools/webpack": "~11.2.6",

I see this is not only my issue

Environment: Windows 10

tolapuramakrishna commented 3 years ago

Same issue for me. I have been trying on the same issue from last 2 days. Have you found any workaround and I am new to native script

kokosky93 commented 3 years ago

no I have not. After one day I gave up