I have just created a plain 'helloworld' cordova app on Visual Studio. I can't debug my app on either android emulator or device though it works only in the ripple emulator. Please help.
I keep getting error "Unable to start mypathname/adb.exe"
Tried adb kill-server and adb start-server in cmd (result: server restarted successfully)
Installed necessary mobile driver and upgraded my driver too
Configured to set allow for USB debugging under Developer options
Devices are detected and shown
Which Android versions are you using? There seems to be known issue for Visual Studio & Cordova that says
When using the VS Debugger with Android < 4.4 emulators, devices, or Apache Ripple™: While debugging to devices with Android versions <4.4, an error popup shows up “Unable to start program” citing “adb.exe” as the cause. The app should still load and work on your device, without debugger support.
and the status seems to be No fix available.
Go to Build/Configuration manager and check if you have choosen Debug configuation instead of Release.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With