visual-studio-cordova

Visual Studio 2015 RC & Cordova: Could not reserve enough space for object heap

十年热恋 提交于 2019-12-08 14:43:50
问题 Environment VS 14.0.22823.1 D14REL jdk1.7.0_55 32 bit which comes with current Android SDK Windows 8.1 Problem: Create new Project of type "Appache Cordova Apps", leave default name "BlankCordovApp3" Build the app with default settings: Works fine Doubleclick config.xml; the config editor opens; goto "platforms" and change Cordova CLI to "5.0.0." Rebuild solution it several times and/or select "Clean Solution" Error message: "Error occurred during initialization of VM; Could not reserve

Multi-Device Hybrid Apps for Visual Studio: ripple emulator doesn't start after the build

杀马特。学长 韩版系。学妹 提交于 2019-12-08 11:52:18
问题 I try to build a empty project with target platform Ripple (Galaxy)/Android and but when finish the build Visual Studio open Chrome with address http://localhost:4400/___vs_to_ripple___/index.html?_enableripple=cordova-3.0.0-NexusGalaxy without run the ripple emulator, of course I get an error. Do I must set some environment variable? Thanks in advance below my output window 1>------ Inizio compilazione: Progetto: BlankCordovaApp1, Configurazione: Debug Android ------ 1>C:\Program Files (x86)

“Unable to attach. The System cannot find the file specified” from Ripple and Android emulator in VS

梦想的初衷 提交于 2019-12-08 09:01:43
问题 I am trying to build cardova project in VS while doing so i am getting a dialogue "Unable to attach. The System cannot find the file specified" while trying to run the application in ripple emulator and also getting error in the console as " A required web socket component is missing. Please refer to the documentation at http://go.microsoft.com/fwlink/?LinkID=403596. " I have installed VS in my system drive and also copied WebSocket4Net.dll file to its location C:\Program Files\Microsoft

Cordova permissions requires android.permission.READ_CONTACTS, or grantUriPermission()

二次信任 提交于 2019-12-08 08:28:35
问题 I'm using Cordova 5.3.1 When i use contactsprovider.PickContact, it returns the following error Caused by: java.lang.SecurityException: Permission Denial: reading com.android.providers.contacts.ContactsProvider2 uri content://com.android.contacts/raw_contacts from pid=7739, uid=10141 requires android.permission.READ_CONTACTS, or grantUriPermission() My androidmanifest.xml is: <?xml version='1.0' encoding='utf-8'?> <manifest android:hardwareAccelerated="true" android:versionCode="100009"

Bing Maps in a hybrid app

最后都变了- 提交于 2019-12-08 08:24:48
问题 I am currently trying to use the Bing Maps AJAX API v7 in the new 'Multi-device hybrid App" template provided in Visual Studio, which uses Apache Cordova to provide crossplatform compatibility. I have written the following code, following the template at http://msdn.microsoft.com/en-us/library/gg427624.aspx : <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <head> <meta charset="utf-8" /> <title>Wand</title> <!-- Wand

Error when building Apache Cordova project in Visual Studio - Could not find module \node_modules\vs-tac\app.js (again!)

心已入冬 提交于 2019-12-08 03:56:13
问题 I fixed this or a very similar issue with building in debug (and I assume in a release version) my Visual Studio 2015 Community TACO Apache Cordova project (the one I'm working on or a blank new project from the template - which is what I've provided output from here, below, the blank one) just about 24 hours ago, but now the problem has 'mysteriously' reappeared. Error Cannot find module 'C:\Users\myusername\Documents\Visual Studio 2015\Projects\BlankCordovaApp3TestZ\BlankCordovaApp3TestZ

Cordova Tools for Visual Studio 2013 CTP3 crashes or gets freezed

牧云@^-^@ 提交于 2019-12-08 03:49:41
问题 I'm experiencing not that random crashes and freezes in Cordova Tools for Visual Studio 2013 CTP3. I've also updated to Visual Studio 2013 Update 4. Visual Studio has this issues after I debug or open the whole app either to the browser using Apache Ripple or Android emulator. When I save some file (f.e. a JS file), it crashes - sometimes it crashes without my intervention too -. The error is the well-known generic crash which prompts you to restart or debug the application (Visual Studio).

Errors in cordova+xcode ios build

六眼飞鱼酱① 提交于 2019-12-07 10:29:20
问题 I am getting the following errors in Application Loader when trying to deliver my app(built in vs2015+cordova+remote xcode 7): Thanks in advance. 回答1: 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 Install this plugin and you should be all set. A future Cordova version

Cordova: Launching chrome with --allow-file-access-from-files from VS 2017

怎甘沉沦 提交于 2019-12-07 07:01:33
问题 I'm working on a cordova application in Visual Studio 2017 and I'm trying to access the filesystem using the file plugin. Unfortunately this does not work when debugging the application using 'Simulate in browser' (using cordova-simulate). A 'SecurityError: It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources.' error is raised. I guess if have to pass '--allow-file-access-from-files' option to chrome, but

Black screen in Cordova Windows 10 UWP app

折月煮酒 提交于 2019-12-06 20:29:26
问题 I am using Cordova to build a UWP Windows 10 app that contains an Ext.js web application. I can successfully build the application using Cordova with cordova build windows and with Sencha's system sencha app build native . This outputs a folder in cordova\platforms\windows\AppPackages with an .appx file that I can install after trusting the generated key. The Problem When installation completes, if the "Run when finished" checkbox is left checked, the app loads and I see our login screen. If