我有一个问题,找不到如何从我的macbook上的visual studio(桌面)编译cordova应用程序,没有相似之处和类似的东西.我搜索了那些东西,但我发现没有任何相关性,或者使用parallels/vmware的东西.
我在评论中添加了一些关于我想要做什么的见解,但是在这里粘贴了它:
不,我的意思是,我有两个设备:桌面,我有Windows 8.1和2012年中期的macbook pro.我想(开始)从我的桌面构建cordova应用程序,但在我的macbook上运行(通过iOS模拟器).我不希望没有双启动,没有虚拟化,只需从visual studio开始构建并完成osx上的构建
我安装了多设备混合应用程序和
当我打开javascript cordova项目时,vs2013会显示此消息.
Git CLI系统中缺少该软件.您可能还需要在安装后进行配置.说明

我的路径变量
C:\Program Files (x86)\Git\bin;
C:\Program Files (x86)\Git\cmd;
C:\Program Files (x86)\Git\libexec\git-core
Run Code Online (Sandbox Code Playgroud) 我为Visual Studio 2013 CTP 2.0安装了多设备混合应用程序.然后我更新了VS2013以更新4.现在我无法将MDHA升级到3.0,因为它告诉我先卸载2.0,但卸载程序不起作用.尝试从"程序和功能"中卸载2.0时,它只会进行设置,然后不会从"添加/删除"列表中删除该软件.
我尝试了这个,但它不起作用:
如何添加不使用这些<vs:feature />部分的插件.我需要添加一些插件,当你添加它们时,他们会要求变量.如果我使用cordova插件添加,我如何在应用程序中引用插件?
这让我发疯,似乎是一个适当的网站,使整个事情无法使用.
我一直收到错误:
Error 17 Variable(s) missing: APP_ID, APP_NAME F:\Development\sdfsdfsd\sdfdsfi\EXEC 1 1 sdfsdfsd
Error 18 The command ""C:\Users\Tom.AD\AppData\Roaming\npm\node_modules\vs-mda\vs-cli" prepare --platform Android --configuration Release --projectDir . --projectName "sdffds" --language "en-US"" exited with code 8. C:\Users\Tom.AD\AppData\Roaming\npm\node_modules\vs-mda-targets\Microsoft.MDA.targets 182 5 sdfdsff
Run Code Online (Sandbox Code Playgroud)
我已经尝试在config.xml中添加以下内容
<preference name="APP_ID" value="ssssss" />
<preference name="APP_NAME" value="ssssss" />
Run Code Online (Sandbox Code Playgroud)
和
<vs:feature>
https://github.com/Wizcorp/phonegap-facebook-plugin.git
<preference name="APP_ID" value="sssss" />
<preference name="APP_NAME" value="ssss" />
</vs:feature>
Run Code Online (Sandbox Code Playgroud)
和
<vs:feature>
https://github.com/Wizcorp/phonegap-facebook-plugin.git
<params name="APP_ID" value="ssssss" />
<params name="APP_NAME" value="sssss" />
</vs:feature
Run Code Online (Sandbox Code Playgroud) 当我尝试使用visual studio中的设备标志构建我的应用程序时,我会收到此消息.我无法解决问题所在.
签名有什么错误的证书吗?或者我回来的zip文件坏了吗?
------ Downloading completed build files from http://*:3000/build/273/download to D:\*\bld\iOS\Debug
1> ------ Done downloading the build outputs to D:\*\bld\iOS\Debug
1> ------ Extracting the build outputs to D:\*\bin\iOS\Debug
1> Archive: D:\*\bld\iOS\Debug\273.zip
1> inflating: BlankCordovaApp2.plist
1>
1> C:\Users\username\AppData\Roaming\npm\node_modules\vs-mda\node_modules\q\q.js:126
1> throw e;
1> ^
1>EXEC : error : Error from downloading build outputs to D:\*\bin\iOS\Debug: Error: invalid signature: 0x80014
1> at Extract.<anonymous> (C:\Users\username\AppData\Roaming\npm\node_modules\vs-mda\lib\remoteBuild.js:228:25)
1> at Extract.EventEmitter.emit (events.js:117:20)
1> at Parse.<anonymous> (C:\Users\username\AppData\Roaming\npm\node_modules\vs-mda\node_modules\unzip\lib\extract.js:28:10)
1> at Parse.EventEmitter.emit (events.js:95:17)
1> at C:\Users\username\AppData\Roaming\npm\node_modules\vs-mda\node_modules\unzip\lib\parse.js:64:12
1> at processImmediate …Run Code Online (Sandbox Code Playgroud) 我正在使用Visual Studio 2013和Cordova CTP 1.1.当我尝试构建项目时,我得到以下神秘错误(为了可读性而添加了换行符):
Error 22
The command ""C:\Users\Nathan\AppData\Roaming\npm\node_modules\vs-mda\vs-cli"
prepare --platform Android --configuration Debug
--projectDir . --projectName "servermon"" exited with code 8.
C:\Users\Nathan\AppData\Roaming\npm\node_modules\vs-mda-targets\Microsoft.MDA.targets 115 5 servermon
Run Code Online (Sandbox Code Playgroud)
我已经尝试过这个问题以及这个问题的解决方案,但这似乎并没有解决问题.我的系统路径似乎包含所有相关内容:
C:\Program Files\Java\jdk1.7.0_60\bin
C:\Users\Nathan\AppData\Local\Android\android-sdk\tools
C:\Users\Nathan\AppData\Local\Android\android-sdk\platform-tools
C:\apache-ant-1.9.3\bin
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
C:\Program Files (x86)\Windows Live\Shared
C:\Program Files\Microsoft\Web Platform Installer\
C:\Program Files (x86)\nodejs\
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\
Run Code Online (Sandbox Code Playgroud)
我还打开了SDK管理器并确保获得最新的(Rev 19)构建工具.系统已经多次重启,我仍然无法构建.有没有人对如何修复此构建问题有任何想法?
编辑:这是我的SDK Manager的屏幕截图

Edit2:这是构建输出
1>------ Build started: Project: servermon, …Run Code Online (Sandbox Code Playgroud) 当我尝试创建一个新项目时,我收到以下错误.我已升级到CTP2.错误:
The expression """.Substring(0, 6)" cannot be evaluated. Index and length must refer to a location within the string. Paramter name:
length
C:\USERS\ME\AppData\Roaming\npm\node_modules\vs-mda-targets\Microsoft.MDA.targets
发生此错误并检查解决方案文件夹时,没有创建任何项目.
使用Telerik appbuilder或VS Multi-Device混合应用程序的优缺点是什么?使用appBuilder而不是VS或反之亦然?