VS 2013的多设备应用的混合未能部署到设备,没有发现任何设备 [英] VS 2013 Multi Device Hybrid App Failed to deploy to device, no devices found
问题描述
我使用新的VS 2013的PhoneGap /科尔多瓦模板来创建混合应用程序。
这一切工作正常使用仿真器和纹波媒体模拟器,但是当我我的手机连接到它。我得到一个错误,说(查看截图)
错误:无法在设备上启动应用程序:错误:未能
APK安装到设备:错误:无法部署到设备,没有设备
找到。 BlankCordovaApp1
块引用>下面是我试图解决的步骤
<一个href=\"http://blog.falafel.com/running-cordova-multi-device-hybrid-app-from-visual-studio-on-android-device/\" rel=\"nofollow\">http://blog.falafel.com/running-cordova-multi-device-hybrid-app-from-visual-studio-on-android-device/
我使用了ALCATEL ONE tocuh X +电话请参阅下面的安装设备驱动程序和最新的。
另外的环境变量设置也显示下方
我甚至尝试过编辑android_winusb.inf文件也包括它的硬件ID
仍然没有去。凡是我做这里或这里缺少什么?
解决方案这个问题确实有USB电脑连接模式
这应该被选择为PTP相机的设备与下面的步骤来识别沿
- 无需驱动程序在设备管理器屏幕
<醇开始=2>
<醇开始=3>
上执行命令的设备亚行设备可能仍显示未授权,请遵循链接 HTTP:/ /stackoverflow.com/a/25546300/581157
<醇开始=12>I use the new VS 2013 phonegap/cordova template to create hybrid apps.
It all works fine using emulators and the ripple media emulators but when i connect my phone to it . I get a error saying that (See screenshot)
ERROR: Failed to launch application on device: ERROR: Failed to install apk to device: ERROR: Failed to deploy to device, no devices found. BlankCordovaApp1
Below were the steps i tried to resolve
I use a Alcatel one tocuh X+ phone see below for the device driver installed and up to date.
Also the Environment variables set are also shown below
I have even tried to edit the android_winusb.inf file too to include its hardware ids
Still no go . Anything that i am doing here or missing here ?
解决方案The problem was indeed with the mode of "USB computer connection" which should be selected as "PTP Camera" for the device to be recognized along with the below steps
- Without Driver the Device Manager screen
The device on performing the command "adb devices" might still show "unauthorized" please follow the steps described in the link http://stackoverflow.com/a/25546300/581157
这篇关于VS 2013的多设备应用的混合未能部署到设备,没有发现任何设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!