I'm trying to run a nativescript app on my device but I get the below. I'm using windows and things I've tried include;
- Killing and restarting adb server
- Checking port 5037 for processes using it and killing it (although I find that it's being used by adb.exe anyway)
- Re-Installed NodeJS
- Tried several versions of NodeJs
- Tried setting the PATH variables again (just to make sure)
- Replaced the adb.exe in the platform-tools directory
- I've also tried deleting the .android config folder
I've tried the app on other systems and it runs well. So I know the problem isn't from the application. I'm currently using node v4.4.5
Error: ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon: No error
error: cannot connect to daemon: No error
at Socket.<anonymous> (C:\Program Files (x86)\Nodist\bin\node_modules\nativescript\lib\common\mobile\mobile-core\android-device-discovery.js:54:25)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at Pipe.onread (net.js:531:20)
Sending exception report (press Ctrl+C to stop)...