如何说服Visual Studio使用ADB for android dev over TCP / IP

所以这可能是一个边缘的情况下,但我在虚拟机上使用Visual Studio,我手中有我的手机。 我想设置的东西,当我在视觉工作室“播放”,它编译我的cordova应用程序,并推到我旁边的手机,所以我可以testing和debugging等。

我的手机“扎根”了,我已经安装了ADB wifi。 我可以从Visual Studio的adb版本连接到它,adb设备也列出它。

(output from cmd.exe running as Admin in the solution folder) C:\Stuff\Code\svn\myapp\MyApp>adb connect 10.10.10.6 already connected to 10.10.10.6:5555 C:\Stuff\Code\svn\myapp\MyApp>adb devices List of devices attached 10.10.10.6:5555 device 

当我在Visual Studio中按“播放”时,它将编译并到达需要部署到手机的位置,然后出现以下错误: 系统找不到指定的文件

 (output from "output" tab in visual studio) C:/Stuff/Code/svn/myapp/myApp/platforms/android/build/outputs /apk/android-debug.apk No scripts found for hook "after_build". No scripts found for hook "after_compile". ------ Copying back to project: android 2>------ Deploy started: Project: MyApp, 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 ========== 

Solutions Collecting From Web of "如何说服Visual Studio使用ADB for android dev over TCP / IP"