Run android problem


#1

i try to run this command :

ionic cordova run android

but i get this error :

cordova run android

You have been opted out of telemetry. To change this, run: cordova telemetry on.
[02:06:29]  lint finished in 7.10 s
ANDROID_HOME=D:\Users\MBehtemam\AppData\Local\Android\sdk
JAVA_HOME=D:\Program Files\Java\jdk1.8.0_131
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


[ERROR] Cordova encountered an error.
        You may get more insight by running the Cordova command above directly.

[ERROR] An error occurred while running cordova run android (exit code 1).

and this is my ionic info result :

global packages:

    @ionic/cli-utils : 1.4.0
    Cordova CLI      : 7.0.1
    Ionic CLI        : 3.4.0

local packages:

    @ionic/app-scripts              : 1.3.7
    @ionic/cli-plugin-cordova       : 1.4.0
    @ionic/cli-plugin-ionic-angular : 1.3.1
    Cordova Platforms               : android 6.2.3
    Ionic Framework                 : ionic-angular 3.4.0

System:

    Node       : v6.11.0
    OS         : Windows 10
    Xcode      : not installed
    ios-deploy : not installed
    ios-sim    : not installed
    npm        : 4.6.1

#2

Pretty clear, isn’t it?
I suggest installing Android Studio and then use the SDK Manager to install al the needed stuff.

Run ionic cordova requirements please, too.