简体   繁体   中英

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

在此处输入图片说明

I have enabled USB debugging mode in my device.

And everything seems fine:

ADT

Although, when i pushed the "device" button

在此处输入图片说明

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM