visual-studio-cordova

How to run Android emulator in VS.NET 2015 when using Parallels on OSX?

喜你入骨 提交于 2019-12-02 07:30:58
I have a Cordova app. When I select the Android emulator and try to run, I get the following errors: PANIC: HOME is defined but could not find AVD_GalaxyNexus_ToolsForApacheCordova.ini file in $HOME\.android\avd (Note: avd is searched in the order of $ANDROID_AVD_HOME,$ANDROID_SDK_HOME\.android\avd and $HOME\.android\avd) If the above are environment variables, they do not exist. I'm not sure where .android\avd is supposed to reside. I'm in Win7. Any ideas how to fix this? Since you are using Parallels on OSX, there are a few things you need to do. First, two important settings for your VM:

Visual Studio 2013 Update 4 and Apache Cordova CTP3 Breaking/Stopping on Javascript lines with no breakpoints

三世轮回 提交于 2019-12-02 05:00:53
问题 I am running Visual Studio 2013 Update 4 with Tools for Apache Cordova CTP3 installed. After creating a brand new Apache Cordova project, and then debugging it, it breaks/pauses/stops on seemingly random lines of javascript files where there are no breakpoints. Meaning, it stops on lines as if there was a breakpoint there, but there really isn't. I'm using RIPPLE debugging only. I don't use a device or emulator AT ALL. At one point, I had installed Visual Studio 2015 CTP5, and an associated

\npm\node_modules\vs-mda\vs-cli is not recognized as an internal or external command

邮差的信 提交于 2019-12-02 04:03:29
问题 Installed the Hybrid-App CTP. Downloaded the Backbone sample. Set my build to Windows phone and Emulator 720 P and tried to build. I get this error: 1>------ Build started: Project: BackboneTodo, Configuration: Debug Windows Phone ------ 1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(90,5): warning : The TypeScript Compiler was given no files for compilation, so it will skip compiling. 1> Your environment has been set up for using Node.js

Cordova - Refused to connect to api from device (Content Security Policy)

妖精的绣舞 提交于 2019-12-02 02:23:54
问题 I am working with Visual Studio's Tools for Apache Cordova. When I build the app with Ripple, all is well. But when I build it to my android device, the app refuses to connect to my external API. This is the error in the JavaScript Console log: Refused to connect to 'http://XXX.herokuapp.com/api/posts/0/5' because it violates the following Content Security Policy directive: "default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'". Note that 'connect-src' was not explicitly set,

Visual Studio 2013 Update 4 and Apache Cordova CTP3 Breaking/Stopping on Javascript lines with no breakpoints

ぃ、小莉子 提交于 2019-12-02 01:40:00
I am running Visual Studio 2013 Update 4 with Tools for Apache Cordova CTP3 installed. After creating a brand new Apache Cordova project, and then debugging it, it breaks/pauses/stops on seemingly random lines of javascript files where there are no breakpoints. Meaning, it stops on lines as if there was a breakpoint there, but there really isn't. I'm using RIPPLE debugging only. I don't use a device or emulator AT ALL. At one point, I had installed Visual Studio 2015 CTP5, and an associated update to the Android Emulator that was recommended. I since have uninstalled them. This is a bug that

\\npm\\node_modules\\vs-mda\\vs-cli is not recognized as an internal or external command

不羁的心 提交于 2019-12-02 00:42:53
Installed the Hybrid-App CTP. Downloaded the Backbone sample. Set my build to Windows phone and Emulator 720 P and tried to build. I get this error: 1>------ Build started: Project: BackboneTodo, Configuration: Debug Windows Phone ------ 1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(90,5): warning : The TypeScript Compiler was given no files for compilation, so it will skip compiling. 1> Your environment has been set up for using Node.js 0.10.29 (x64) and npm. 1> ------ Ensuring correct global installation of package from source package

scriptedsandbox64.exe crashes in visual studio 2015

左心房为你撑大大i 提交于 2019-12-01 19:51:52
问题 I have created a standard Apache Cordova App for typescript. But when I run the debugger with ripple the scriptedsandbox64.exe crashes and when I hit refresh in the DOM explorer the same proces crashes again. I have just installed Visual Studio 2015 Community today. It opens in Chrome, how do I get it to open in IE. 回答1: I installed IE11 and now it seems to work properly. 来源: https://stackoverflow.com/questions/33238845/scriptedsandbox64-exe-crashes-in-visual-studio-2015

scriptedsandbox64.exe crashes in visual studio 2015

不羁岁月 提交于 2019-12-01 19:34:11
I have created a standard Apache Cordova App for typescript. But when I run the debugger with ripple the scriptedsandbox64.exe crashes and when I hit refresh in the DOM explorer the same proces crashes again. I have just installed Visual Studio 2015 Community today. It opens in Chrome, how do I get it to open in IE. I installed IE11 and now it seems to work properly. 来源: https://stackoverflow.com/questions/33238845/scriptedsandbox64-exe-crashes-in-visual-studio-2015

ionic content not scrolling

吃可爱长大的小学妹 提交于 2019-12-01 17:38:06
I have gone through many answers, but nothing worked for me. I have a simple .html file and ionic content just does not scroll. <!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>

Deployement Error for iOS in VS Cordova

风流意气都作罢 提交于 2019-12-01 17:10:42
VS version - 2015 with Cordova update 3 Mac OS - 10.10.4 iOS - 9.0 When building in release mode for iOS we get following warnings. But release folder is created with ipa and plist. So when uploading that ipa using application loader it gives following 2 errors. Chuck Lantz As I mentioned in this stackoverflow thread : There appears to be an issue with Cordova's iOS implementation when publishing apps created specifically using Xcode 7. A Cordova community member has published a "cordova-plugin-ipad-multitasking" plugin with a fix. http://npmjs.com/package/cordova-plugin-ipad-multitasking