Unable to run debugger on Android emulator


#1

Any tips on how to do debugging of Android apps using URI scheme within Visual Studio Code on a Mac?

To be honest I can’t even debug an Android app on the emulator at all right now…

It installs OK, but can’t connect

TypeError: Cannot set property ‘socket’ of null
at Timeout.tryConnect [as _onTimeout] (/usr/local/lib/node_modules/nativescript/lib/services/livesync/android-livesync-tool.js:298:51)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5)
[


#2

Is the package name in your package.json and the Android manifest xml / app gradle are same? I once faced similar issue when I had different values.