I am new to apache cordova and i'm trying to build a client app for my asp.net mvc website, using apache cordova in visual studio. but visual studio 2017 tools for apache cordova installs cordova 6.3.1 and some plugins like onesignal can't work on it. Could you please help me?
Update Tools For Apache Cordova in Visual Studio
1.7k Views Asked by Nima Yazdi At
1
There are 1 best solutions below
Related Questions in APACHE
- .htaccess redirect 403 error files to 404 error document
- RestApi server code is not workinng
- Convert Apache VirtualHost to nginx Server Block for Dynamic Subdomains
- Looking the Method that MANUALLY INSTALL PHP on OSX Yosemite
- Premature end of script on VPS
- Rasterization with Javascript looks different on Apache server
- Vagrant - Ansible error installing Apache
- Can't use subdomain in Chrome using Apache (XAMPP)
- Django webapp (on an Apache2 server) hangs indefintely when importing nltk in views.py
- Redirect keystone app to sub directory using htaccess
- How can I integrate Solr5.1.0 with Nutch1.10
- Disconnect Client connected to cgi application
- Solr ping taking time during full import
- How to redirect an incoming request to specific serverName to different server in apache2?
- What is the correct way to link Django Flatpages?
Related Questions in VISUAL-STUDIO
- NuGet - Given a type name or a DLL, how can I find the NuGet package?
- Exception thrown at 0x0131EB06 Visual Studio
- Visual Studio 2015 Cordova Plugin Add Fail
- Cannot find InvalidCastException in C# Application
- generating C# code file during Visual Studio build
- Can I deploy multiple instances of my application on the same windows phone?
- Close the Solution Explorer window
- How to generate entity framework code-first migrations without using the package manager console?
- Implementing callback function for dialog-based application
- VB.net: How to make original variable value fulfill 2 statements?
- DLL being marked as DELETEPENDING
- String tokenizing in Visual Studio C++
- How to use "Multicharts Studies" in Visual Studio 2013?
- Programs Will Not Run In Visual Studio
- VB.Net: Display total when check boxes are checked
Related Questions in CORDOVA
- CFBundleDocumentType is not working in myproject-Info.plist file
- ionic build android failure - Execution failed for task processDebugResources
- How do I properly restrict a .on('click tap') event from triggering more than once per click?
- Android Status Bar Icon Size - Using Cordova / Phonegap Push Plugin
- ionic serve uncaught exception
- PhoneGap: Offline App Use
- Visual Studio 2015 Cordova Plugin Add Fail
- Tools for Apache Cordova - Installed Plugins are skipped in build
- app crashes after hacking cordova-plugin-crosswalk-webview to include crosswalk-lite
- identify GPS mobile phonegap
- Android installLocation when building with cordova cli
- Check Phonegap app connection
- CORS in ionic app and django
- Build full-featured iOS application with just PhoneGap Build and no Mac-like hardware
- How to use embedded Ruby HTML files with Ionic and Cordova
Related Questions in APACHE-CORDOVA
- IMG not showing a PNG image encoded as a Base64 string
- Notifications handling in apache cordova app
- Android javascript audio not working
- Issues at Apache.org does not cantain Apache Cordova for create issue tab
- ngCordova Push Plugin in Visual Studio 2015
- how to install Cordova camera plug in for ios in mac
- using JQuery fileTree for Apache Cordova application
- Use Apache Cordova to develop OS X application
- Unable to Start/Run Apache Cordova project in Visual Studio 2015
- Upgrading from Cordova < 4: Current alternative for CordovaXXClients
- Cordova - Insert to web page's database
- Using Apache Cordova to browse TOR .onion urls
- apache cordova in visual studio 2015/2017 does not build
- Wrong type for parameter "uri" of resolveLocalFileSystemURI: Expected String, but got Null
- For loop Does not start
Related Questions in TOOLS-FOR-APACHE-CORDOVA
- VS2015 - Couldn't input command in JavaScript in Cordova project
- Visual studio Tools for Apache Cordova version issue
- Visual Studio Ripple emulator
- apache cordova in visual studio 2015/2017 does not build
- Release build fails with exit code ENOENT in Visual Studio Tools for Apache Cordova
- How to get FileEntry object while using Cordova Simulate
- Visual Studio Tools For Apache Cordova - Missing Android Support Package
- Corrupt npm error when building my first Cordova App
- Visual Studio 2015 won't work with Tools For Apache Cordova
- Update Tools For Apache Cordova in Visual Studio
- Visual Studio 2017 iOS Build Failed to acquire Cordova
- Splash screens and icons stopped working after plugin upgrade
- How can I find the correct version of a plugin for a platform
- android.apk file not being generated in Visual Studio 2017
- How to use a more up to date Cordova plugin in Visual Studio 2017
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
That is a known issue but it can be fixed following these steps:
Assuming you have already installed Cordova 7.1.0 gobally using
npm install -g [email protected]In Visual Studio 2017 go to
File > New > Project > Blank App (Apache Cordova)Open
config.xmlin View Code mode and find this:Replace with:
Where
7.1.0is your global Cordova version.Note how
cordova-androidhas been increased to6.3.0as well.Feel free to try using cordova-android 6.4.0 or cordova-android 7.0.0, however they may or may not introduce some issues (with Gradle for example). I have tested
6.3.0but certain plugins may require a newer version.Select
Deviceas target.Now
Build > Build SolutionSave, close and reload the project. When you access
config.xmlin designer mode you'll see Global Cordova 7.1.0 as the selected toolset.In order to build you may need to use the external Android SDK Build Tools (API 26) instead of the ones provided by Visual Studio (API 25).
Use the Android SDK Manager to manage versions, no need to get Android Studio for this.
Remember to follow the guidelines from Microsoft when changing the CLI on existing projects. However I strongly recommend creating a new one and then importing your files and adding your plugins to avoid potential problems.