Cordova Project: Windows Environment Variables Error Fixing Initial Setup
Cordova Project Windows Environment Variables Error Fixing Initial Setup

Cordova Project: Windows Environment Variables Error Fixing Initial Setup

Cordova Project: Windows Environment Variables Error Fixing Initial Setup

When creating Cordova projects, probably the most difficult part is the initial set up. This video covers the required installs and how to add the proper Environmental variables on Windows for Android app development. Note: Please use JDK version 8.x, because if you use higher version of java, than it will cause problems with Cordova. Stick with using JDK 8.

Windows Environment variables
ANDROID_SDK_ROOT – location of your android SDK folder
ANDROID_HOME – location of your android SDK folder
JAVA_HOME – Location of your JDK folder
PATH – Locations where programs could be located

PATH Should Include
%ANDROID_SDK_ROOT%\emulator
%ANDROID_SDK_ROOT%\tools
%ANDROID_SDK_ROOT%\tools\bin
%ANDROID_SDK_ROOT%\platform-tools
%ANDROID_SDK_ROOT%\build-tools
%JAVA_HOME%\bin
C:\Program Files\nodejs
C:\Users<your username>\AppData\Roaming\npm

IF STILL YOU ARE GETTING ERROR PLEASE FOLLOW THE STEP

Try moving up your C:\Program Files\nodejs path on top as below 

C:\Program Files\nodejs
%ANDROID_SDK_ROOT%\emulator
%ANDROID_SDK_ROOT%\tools
%ANDROID_SDK_ROOT%\tools\bin
%ANDROID_SDK_ROOT%\platform-tools
%ANDROID_SDK_ROOT%\build-tools
%JAVA_HOME%\bin
C:\Users<your username>\AppData\Roaming\npm

Do not forget to share and comment if you think this post helped you.

Also please feel free to contact if you want us to compile your cordova android app, we offer app compilation at lowest price.

Vikrom is part of a movement to liberate every human being from the 8-4 job!

Struggler: This is long yet interesting! 🙂

Howdy, Struggler! Welcome to Vikrom (vikrom.in) – A platform to learn, and grow as a blogger or digital marketer, and entrepreneur who are looking for a website at low price, Good and Best Hosting at lowest best price. A community of enthusiastic Individuals who is popularly known as “Struggling person!

Here is what you will find on Vikrom: 30% practical tips to create a blog & live your passion; the other 45% is for personal storiespersonal opinions, natural remedies and more, 25% is for  News and latest updates,
Basic & advanced Blogging, WordPress, SEO, and Social media marketing techniques technologies, daily happenings, trending news, inspiring stories etc.

Vikrom

Vikrom News Updates, Blogger, Stories, Shayeri, Quotes, Freelance Web Developer, Development, Codecanyon script installation, app compilation vikrom.in India.

Leave a Reply