1

我已按照以上说明上运行我的应用程序:视觉工作室 - 科尔多瓦 - 在Android设备

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

enter image description here

我已经在我的设备启用USB调试模式。

,一切似乎罚款:

adt

虽然,当我推的 “设备” 按钮

enter image description here

应用建精(创建APK),但有一个错误:

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 ========== 

我做错了什么?

+0

运行adb kill-server,然后运行adb start-server。看看问题是否可以解决。 –

+0

OK,did not work = \ – Dorad

+0

转到Visual Studio-> Tools-> Options - >“Environment Variable Overrides” - > ADT_HOME。确保正确的android sdk路径配置 –

回答

2

在我们聊天时,我看到您能够以管理员模式在命令提示符下运行adb命令。因此,请以管理员身份尝试VS。

相关问题