visual-studio-cordova

Build doesn’t produce apk

纵饮孤独 提交于 2019-12-11 13:43:13
问题 I’m using Visual Studio Tools for Apache Cordova CTP3.1 on VS 2013. Building a simple Blank App template for Android. Build succeeds with no errors, but I can’t find compiled APK file anywhere! bin\Android\ folder contains empty Release and Debug folders. Below is my output from VS build. I don’t see the actual call to Cordova to do the Android build, should it be there? Ripple emulator works just fine. Thank you. Build output: 1>------ Build started: Project: BlankCordovaApp1, Configuration:

Visual Studio 2015 RC & Cordova build.bat: “Error: Please install Android target: ”android-21“”

二次信任 提交于 2019-12-11 13:11:50
问题 Environment VS 14.0.22823.1 D14REL 64 bit JDK, manually installed; not using the one which comes with ADK Windows 8.1 Problem Create new Project of type "Appache Cordova Apps", leave default name "BlankCordovApp3" Build the app with default settings: Works fine Try to build the solution with BlankCordovApp3\platforms\android\cordova\build.bat in order to get more output Error: Please install Android target: "android-21". Hint: Open the SDK manager by running: ... You will require: "SDK

How to deploy Visual Studio Cordova app to Windows 8?

不问归期 提交于 2019-12-11 12:38:28
问题 When I create a sample cordova app in Visual Studio I can target Android and it generates an APK what I can open easily in Android. How to do the same for Windows 8/8.1 ? ... what is the equivalent of the APK file for windows? (I was looking for a .exe or similar but cant find ... assume this must be simple!?) 回答1: In Windows 8.0/8.1 .appx and .appxupload package are created after build and like apk this is also a zip file, to view the content of package, change the extension to .zip and

Tools for Apache Cordova - TypeScript debugger jumps to wrong line

佐手、 提交于 2019-12-11 12:28:20
问题 if i create a new BlankCordovaApp TypeScript-Project with Visual Studio 2015 RC and add these two ts files the following modifications to the index.ts and index.html aaa.ts class AAA { add(a: number, b: number) { return a + b; } } bbb.ts class BBB { mul(a: number, b: number) { return a * b; } } index.ts export function test() { var aaa = new AAA(); var bbb = new BBB(); var sum = aaa.add(2, 3); var product = bbb.mul(2, 3); var result = sum + product; } index.html <button onclick=

Visual Studio 2015 Update 1 - The template specified cannot be found when creating project with Cordova tools

耗尽温柔 提交于 2019-12-11 12:16:19
问题 I did a clean installation of Visual Studio 2015 Update 1 Enterprise (MSDN Release Date 1/13/2016) after I had install Visual Studio 2015 Community where I installed the Apache Cordova tools components. When creating a new project... I do not see the node with the JavaScript templates anymore - though it is in the Common7\IDE\ProjectTemplates structure I get "The template specified cannot be found" with the new TypeScript TACO templates 回答1: After some digging and trial/error loops I solved

Visual Studio 2015 hangs on deploying cordova application

与世无争的帅哥 提交于 2019-12-11 12:06:05
问题 I'm trying to build a blank cordova application into my iPad Air 2 with Visual Studio 2015 Enterprise edition as i've already done it with success with the release candidate version. I've got node.js v 4.2.2 on both machines since version 5.2.0 was hanging the build indefinitely, i've also got latest version of iTunes (12.3.1) as well as iOS 9.2 on the mobile device. I've got the remote MAC set up and everything works fine for the building part, infact i've checked and the .ipa file is there

Visual Studio Tools for Apache Cordova Error

谁说我不能喝 提交于 2019-12-11 11:29:07
问题 I recently installed Visual Studio Tools for Apache Cordova CTP 3.1 in Visual Studio 2013 running on Windows 8.1 . I receive the following error when I try to run a standard new Cordova project (in the Android Emulator or Device). The project is named MyCordova01: OutPut Window show below message: 1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(103,5): warning : The TypeScript Compiler was given no files for compilation, so it will skip

Using Nuget on VS2015 RC Tools for Apache Cordova

你离开我真会死。 提交于 2019-12-11 11:21:09
问题 Bit of a newbie to VS2015RC with Cordova but I have a query regarding how to use Nuget to add dependencies like say Jquery, Angular etc. If you add the dependencies or packages using Nuget then they are added to the root of the Project (Not in the www folder). Of course you can just move the files but this plays havoc with some of the Source Control we are using and also you have to remember to move it back again to the root if you want to "Upgrade" the dependency or package with Nuget again.

Error 0x80080209 when signing appx file for Windows UWP

混江龙づ霸主 提交于 2019-12-11 08:45:40
问题 I have build a Windows 10 UWP cordova application, and are now trying to sign it. I already have a certificate that is used elsewhere (to sign .net assemblies) so I thought I would use the same one for this application signing. When I use the signtool.exe, I get the following error.. SignTool Error: An unexpected internal error has occurred. Error information: "Error: SignerSign() failed." (-2146958839/0x80080209) Looking in the event log as suggested here, I see no errors just 2 information

iOS Device support folder xxx is not a valid path

核能气质少年 提交于 2019-12-11 05:33:37
问题 I'm building a Cordova app and am trying to get local debug builds working. I've run into one snag, which gives me the following error: iOS device support folder '\\xxx.xxx.xxx.xxx\Applications\Xcode.app\Contents\Developer\Platforms\iPhoneOS.platform\DeviceSupport' is not a valid path, please provide a path to enable deploy to local device. The only problem, is that I can take the same path that VS2015 is complaining about and run it in the explorer without any errors. Is there something else