我有一个新的空白cordova项目,我想安装一个插件,
http://plugreg.com/plugin/EddyVerbruggen/LaunchMyApp-PhoneGap-Plugin
我试过以下,
我收到以下错误,
"目前的工作目录不是基于Cordova的项目."
我知道如何让它工作,假设我可以这样做吗?
cordova visual-studio-2013 cordova-plugins visual-studio-cordova
调试器错误"无法附加.系统无法找到"从Ripple和Android模拟器中指定的文件"
我刚刚为Visual Studio 2013安装了多设备混合应用程序预览版,在尝试针对Ripple或其他模拟器进行调试时出现错误
构建过程始终成功完成,但在开始调试VS时显示此错误消息:
"无法附上.该系统找不到指定的文件"

Visual Studio 2013没有提供有用的输出,而是在显示异常后调试器没有附加到浏览器Ripple模拟器.异常立即发生,调试器永远不会附加.自安装以来我发生了这个错误,所以它不应该与项目本身有任何关系.我检查了我的路径,看起来像@ Freddy的回答一样正确,因为构建总是成功的.
debugging android-emulator ripple visual-studio-2013 visual-studio-cordova
您好我的问题是使用Visual Studio工具开发HTML5中的phonegap应用程序,用于apache cordova https://www.visualstudio.com/en-us/features/cordova-vs.aspx 当我调试应用程序时出错
Ripple ::环境变暖(茶.伯爵灰色.热.)ripple.js(37,13099)
主线程上的同步XMLHttpRequest因其对最终用户体验的不利影响而被弃用.如需更多帮助,请查看http://xhr.spec.whatwg.org/.> ripple.js(50,28958)
无法加载资源:服务器响应状态为404(未找到)ripple.js
感谢您的帮助
我正在尝试Visual Studio 2015 Apache Cordova使用Angular 2+ 找到项目的快速入门教程TypeScript.
最新的例子已经过时或不适用于Cordova. https://github.com/Microsoft/ngconf2015demo http://blogs.msdn.com/b/visualstudio/archive/2015/03/12/a-preview-of-angular-2-and-typescript-in-visual -studio.aspx
这是在VS2015 RC上工作的.
选择目标"Windows Phone 8".选择"设备".
右键单击项目 - >选择'部署'或单击工具栏中的'调试'
错误:2> ------已部署已开始:项目:XXXX,配置:调试Windows Phone 8 ------ 2>未安装Windows Phone 8模拟器.请安装Visual Studio 2013并选择Windows Phone 8工具来安装模拟器.
我没有选择模拟器???
谢谢
我的Javascript Apache Cordova应用程序构建正常,但不会在模拟器或真实设备上进行调试.
我在Visual Studio Javascript控制台中看到一堆消息,但应用程序会立即崩溃并且Javascript控制台变得不可用.
我已经尝试设置断点来暂停不起作用的应用程序.
调试器停止后,如何查看这些Javascript控制台日志?
编辑:这适用于Windows Phone(通用),带有Windows Phone插件,不能在浏览器中调试
javascript visual-studio visual-studio-cordova visual-studio-2015
我已经经历了很多答案,但没有任何对我有用.我有一个简单的.html文件和离子内容只是不滚动.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title></title>
<link href="lib/ionic/css/ionic.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!-- IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above
<link href="css/ionic.app.css" rel="stylesheet">
-->
<script src="js/platformOverrides.js"></script>
<script src="scripts/angular-resource.min.js"></script>
<!-- ionic/angularjs js -->
<script src="lib/ionic/js/ionic.bundle.js"></script>
<!-- cordova script (this will be a 404 during development) -->
<script src="cordova.js"></script>
<script src="scripts/jquery.min.js"></script>
<script src="scripts/angular-sanitize.min.js"></script>
<script src="scripts/angular-ui-router.js"></script>
<script src="scripts/angular-resource.js"></script>
<script src="scripts/lodash.min.js"></script>
<script src="js/app.js"></script>
<script src="js/appController.js"></script>
</head>
<body …Run Code Online (Sandbox Code Playgroud) 在过去,我使用Visual Studio Tools为Apache Cordova构建我的Cordova应用程序,并在配置的Mac(来自macincloud)上进行远程构建.
我现在正在使用VS Code而不是Visual Studio,并想知道是否有一种方法可以使用命令行工具来实现它?
我下载并安装了最新版本的Visual Studio Ionic 2模板,用于Apache Cordova的Visual Studio Tools.我使用的是Visual Studio 2017 Professional.
令我沮丧的是,我发现Cordova的实时重载功能根本不起作用.当我修改HTML时,Cordova Simulate反映这些变化的唯一方法是停止调试并重新部署项目,这需要花费大量时间并使开发工作流程变得非常痛苦.
只要有多个离子项目正在进行,就会出现另一个问题.我发现因为Ionic正在使用相同的端口进行部署,所以当其中一个项目启动时,启动的应用程序会对我要求的应用程序感到困惑,并且经常会显示其他应用而不是我想要的应用.
有任何想法吗?
当我使用全局安装的Cordova 7.1.0工具集并进行iOS远程构建(模拟器或本地设备)时,我几乎立即收到错误消息:
Error MSB4018 The "VsTac" task failed unexpectedly.
System.IO.FileNotFoundException: Could not find file 'C:\Users\joe\AppData\Local\Temp\appAsTgz.tgz'.
File name: 'C:\Users\joe\AppData\Local\Temp\appAsTgz.tgz'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.RemoteBuild.AppAsTgzStream(String changeTimeFile, JObject lastChangeTimesMap)
at Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.RemoteBuild.Build()
at …Run Code Online (Sandbox Code Playgroud)