Dorad
Dorad

Reputation: 3673

visual studio - cordova - running my app on an Android device

I have followed these instructions:

https://taco.visualstudio.com/en-us/docs/run-app-apache/#android-devices

enter image description here

I have enabled USB debugging mode in my device.

And everything seems fine:

adt

Although, when i pushed the "device" button

enter image description here

App was built fine(apk was created) but there was an error:

2>------ Deploy started: Project: v2, Configuration: Debug Android ------
2>  Querying ADB for attached devices...
2>The system cannot find the file specified
2>The system cannot find the file specified
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

What have i done wrong?

Upvotes: 1

Views: 1282

Answers (1)

Alan Yao - MSFT
Alan Yao - MSFT

Reputation: 3304

As we chat, since I saw you were able to run the adb command in command prompt in administrator mode. So try VS as administrator may help.

Upvotes: 2

Related Questions