Ionic build android not working?


#1

When i run ionic build android command. Then it started downloading bellow link

Downloading http://services.gradle.org/distributions/gradle-2.2.1-all.zip

Some days ago there is not such problem . I have built it easily ionic build android command. Sometime it shows
[Error: Please install Android target: “android-22”.

Hint: Open the SDK manager by running: D:\Android\ Tools\Android\ide\adt\sdk\too
ls\android.BAT
You will require:

  1. “SDK Platform” for android-22
  2. "Android SDK Platform-tools (latest)
  3. “Android SDK Build-tools” (latest)]

Please help me.