telerik / mobile-cli-lib

Contains common infrastructure for CLIs - mainly AppBuilder, NativeScript, DDB and Proton.
Apache License 2.0
11 stars 10 forks source link

Fix android emulators #1116

Closed Fatme closed 6 years ago

Fatme commented 6 years ago

Sometimes tns devices command hangs up on windows because net.connect is executed twice and does not return any data. This PR fixes this behaviour. Sometimes net.connect throws ECONNREFUSED error. In this case {N} CLI throws an unhandled error because of missing .error handler. This PR adds a missing error handler. In case when {N} CLI is not able to get imagerIdentifier of android emulator it will fallback to displayName from properties file.