Setting up Android Cordova environment

1

Following the tutorial in this video link posted by Marcelo Costa, I performed all the installations as recommended. I'm using Windows 10. I've installed Android Studio and can run native applications without any problems.

However, I came across a persistent and unsolvable error.

Running the cordova requirements command I get the following:

  

Requirements check results for android:

     

Java JDK: installed 1.8.0

     

Android SDK: installed true

     

Android target: installed android-25, android-22, android-16

     

Gradle: not installed

     

Could not find an installed version of Gradle or in Android   Studio, or on your system to install the gradle wrapper. Please   include gradle in your path, or install Android Studio Error: Some of   requirements check failed

Here is some information:

$ node -v
v6.11.2

$ cordoba -v
7.0.1

$ cordova emulate android

ANDROID_HOME=S:\Users\sandr\AppData\Local\Android\sdk

JAVA_HOME=C:\Program Files\Java\jdk1.8.0_144

Error: Could not find an installed version of Gradle either in Android Studio,
or on your system to install the gradle wrapper. Please include gradle
in your path, or install Android Studio

    
asked by anonymous 31.08.2017 / 00:22

0 answers