VS 2013 Multi Device Hybrid应用程序无法部署到设备,未找到设备 [英] VS 2013 Multi Device Hybrid App Failed to deploy to device, no devices found

查看:414
本文介绍了VS 2013 Multi Device Hybrid应用程序无法部署到设备,未找到设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用新的VS 2013 phonegap / cordova模板来创建混合应用程序。



使用仿真器和波纹媒体模拟器,但是当我连接我的手机,它一切正常。我收到一条错误消息(查看屏幕截图)>


错误:无法在设备上启动应用程序:ERROR:无法
安装到设备:ERROR:无法部署到设备,无设备
找到。 BlankCordovaApp1


以下是我尝试解决的步骤



中所述的步骤操作。




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

http://blog.falafel.com/running-cordova-multi-device-hybrid-app-from-visual-studio-on-android-device/

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

  1. 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 Multi Device Hybrid应用程序无法部署到设备,未找到设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆