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
- Special access rule in an .htaccess file for IP addresses, authorized only for one directory structure
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Cannot load modules/mod_dav_svn.so into server
- How to ignore case in regexp mapping in a .htaccess rewrite rule?
- Oracle Http server ISNT-07551
- I cant access file directory with PHP local host on XAMPP. it just shows one of the files I have in my visual studio code
- Apache Reverse Proxy: only one proxy directive is working. Second one is ignored
- Issue with Django --> Apache WSGI deployment
- changing the node version used by apache web server
- Apache: How can I redirect to a subfolder with a URL param but serve required content via the main URL?
- Why/How does Apache auto-include "DHE" TLS1.2 ciphers while nginx needs "dhparams" file?
- Set up MX records in apache/Ubuntu to point to external mail server
- How to proxy to another port?
- Php can not upload file out of /var/www/html even after disabling Selinux
- Serve static site on S3 + CloudFlare with Apache retaining the source URL
Related Questions in VISUAL-STUDIO
- The current .NET SDK does not support targeting .NET Core 6.0. Brand new WPF Project VS Community 2022 17.9.5
- Dotnet Run is not working but the application is running in Visual Studio
- Is there a way to support Tailwind @apply in Visual Studio?
- How can I eliminate compile warnings using ZLib in Visual Studio
- C++(or Visual Studio) saving the file will not preserve the original file contents
- VS Community 2022 cannot install dotnet-ef when i try to publish
- Visual Studio 2022 convert spaces to tabs on checkout and back to spaces on checkin
- What should I do if Visual Studio has a restriction on creating files with a long name or a long path to these files?
- Command line error D8036 - not allowed with multiple source files with node-gyp and VS2022
- Migrate Old VS 2015 .suo file to the New VS 2022 DocumentLayout.json
- How to make one executable visual studio, that users can run?
- Use tabs instead of spaces in .csproj file in Visual Studio 2022
- Unity - scrollview/dragging breaks after specific scene inactivity
- How to make Visual Studio 2022 project launch Windows Terminal instead of PowerShell?
- Why is 'EDITBIN /STACK:2097152 w3wp.exe' cmd is giving me an LNK1342 error?
Related Questions in CORDOVA
- how to get rid of the cordova screen when you open the app
- How to build a codesandbox project to android apk?
- Cordova Android run failed
- Cordova Build issue since version 12.0.0
- cordova-background-geolocation-plugin don't giving any response in cordova android app
- provider duplicate while compiling a Cordova application for the Android platform
- Detect clickable areas within <img> tag in Ionic project
- Whitelisting Ionic app in Salesforce Org for CORS/CSP
- gradle keeps failing. Cordova run. Vscode
- Cordova plugin splashscreen issue while Azure Devops with ant build using android-cordova application
- Ionic 3 issue while generating AAB file
- Xcode Undefined symbols, Linker command failed with exit code 1 (use -v to see invocation)
- Xcode 15.3 build failed
- Samsung screen zoom ruining my cordova built android app
- command: ionic server Killed 9
Related Questions in APACHE-CORDOVA
- Cordova run browser on Internet Explorer or Microsoft Edge fails
- Apache Cordova Android App: Front end app isn’t hitting the back end API
- http post request not working inside ionic app, but the same post request works in postman
- Why does Android Play Protect security scan block a generic Ionic app from installing?
- I am able to curl to node.js server but unable to http request from javascript
- How to fix "build.gradle" problem in a Cordova project?
- Unexpected String in a Json file by removing the firebase plugin
- How to use aws-iot sdk in Cordova
- Apache cordova ios application floating cursor issue
- How do I import Firebase to my Apache Cordova project?
- Issues at Apache.org does not cantain Apache Cordova for create issue tab
- Websocket connection error - Visual studio apache cordova
- Simulate in browser option missing in Visual Studio Community 2017 version 15.7.5
- Is it possible to do a password input when using cordova-plugin-dialogs
- visual studio 2017 apache cordova app wont debug on physical device?
Related Questions in TOOLS-FOR-APACHE-CORDOVA
- Release build fails with exit code ENOENT in Visual Studio Tools for Apache Cordova
- Update Tools For Apache Cordova in Visual Studio
- android.apk file not being generated in Visual Studio 2017
- How to use a more up to date Cordova plugin in Visual Studio 2017
- How can I find the correct version of a plugin for a platform
- How to get FileEntry object while using Cordova Simulate
- apache cordova in visual studio 2015/2017 does not build
- Visual Studio Ripple emulator
- Visual Studio 2017 iOS Build Failed to acquire Cordova
- Visual studio Tools for Apache Cordova version issue
- Corrupt npm error when building my first Cordova App
- VisualStudio remotebuild fails with error - 1
- Visual Studio Tools For Apache Cordova - Missing Android Support Package
- VS2015 - Couldn't input command in JavaScript in Cordova project
- Splash screens and icons stopped working after plugin upgrade
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 # Hahtags
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.