从visual studio 2015部署cordova应用程序时出现错误 [英] Getting errors when deploying cordova app from visual studio 2015

查看:165
本文介绍了从visual studio 2015部署cordova应用程序时出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio 2015与Cordova工具5.4.1。

我有一个问题,试图调试我的android设备上的cordova应用程序(从Visual Studio 2015)。

构建是成功的,但部署我的设备(Galaxy S4)刚刚命令后失败:查询连接设备的ADB ...

我激活详细日志,但是我没有足够的细节。在下面的日志堆栈底部:

I use Visual Studio 2015 with Cordova tools 5.4.1.
I have an issue while trying to debug my cordova application on android device (from Visual Studio 2015).
The build is successfull but the deployment my device (Galaxy S4) fail just after the command : Querying ADB for attached devices...
I have activated Verbose log but i don't have enough details. Find below the bottom of the log stack:


1> 20 ms CreateBuildInfoMetadata 1次调用

1> 772 ms RunMdaInstall 1次调用

1> 774 ms CallTarget 1次调用

1> 22118 ms MdaVsCli 1次调用

1>

1>构建成功。

1>

1>时间已过00:00:22.94

2> ------部署开始:项目:可爱性,配置:调试Android ------

2>查询连接设备的ADB ...

2> Le fichierspécifiéest introuvable

2> Le fichierspécifiéest introuvable

========== Build:1成功,0失败,0最新,0 skipped = =========

==========部署:0成功,1失败,0跳过==========

1> 20 ms CreateBuildInfoMetadata 1 calls
1> 772 ms RunMdaInstall 1 calls
1> 774 ms CallTarget 1 calls
1> 22118 ms MdaVsCli 1 calls
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:22.94
2>------ Deploy started: Project: Amiability, Configuration: Debug Android ------
2> Querying ADB for attached devices...
2>Le fichier spécifié est introuvable
2>Le fichier spécifié est introuvable
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

注意:Le fichierspécifiéest introuvable表示无法找到指定的文件。

NB: "Le fichier spécifié est introuvable" means "The specified file cannot be found".

你知道这是什么问题吗?
我如何获得有关缺少的文件的更多详细信息?

Do you know what's is the problem ? How can i get more details about the missing files ?

推荐答案

/ strong>,一切运行良好。
这似乎有时一些文件被损坏的SDK。
如果我再次遇到相同的问题,我会尝试通过清洁SDK文件夹逐步知道哪个文件或文件夹被损坏。

I have reinstalled the android SDK, and everything works well now. It's seems sometimes some files get corrupted in the SDK. If i get the same issue again, i will try to know which file or folder is corrupted by cleaning the SDK folders step by step.

非常感谢you:)

这篇关于从visual studio 2015部署cordova应用程序时出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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