title: ionic build android error
body: <p>I'm confused. jdk,sdk,ant,cordova,ionic doing well,why builds error?<br>
  I searched everywhere,but no answer for it.<br>
  I guess has a error version?<br>
  who can help this?
    <p>system:win8<br>
    jdk:1.8<br>
    ant:1.96<br>
    android:22<br>
  </p></p>
  
  <pre><code>%ANT_HOME%\bin\;%ANDROID_HOME%\platform-tools\;%ANDROID_HOME%\tools\;%java_home%\bin;%java_home%\jre\bin;C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\
  </code></pre>
  
  <p>Path</p>
  
  <pre><code>E:\ionic\demo22&gt;ionic build android
  Running command: "C:\Program Files\nodejs\node.exe" E:\ionic\demo22\hooks\after_
  prepare\010_add_platform_class.js E:\ionic\demo22
  add to body class: platform-android
  Running command: cmd "/s /c "E:\ionic\demo22\platforms\android\cordova\build.bat
  ""
  ANDROID_HOME=E:\adt-bundle-windows-x86_64-20140702\sdk
  JAVA_HOME=C:\Program Files\Java\jdk1.8.0_60
  Running: E:\ionic\demo22\platforms\android\gradlew cdvBuildDebug -b E:\ionic\dem
  o22\platforms\android\build.gradle -Dorg.gradle.daemon=true
  Unzipping C:\Users\cxt\.gradle\wrapper\dists\gradle-2.2.1-all\2m8005s69iu8v0oiej
  fej094b\gradle-2.2.1-all.zip to C:\Users\cxt\.gradle\wrapper\dists\gradle-2.2.1-
  all\2m8005s69iu8v0oiejfej094b
  Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipExceptio
  n: error in opening zip file
          at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAcc
  essManager.java:78)
          at org.gradle.wrapper.Install.createDist(Install.java:47)
          at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
          at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
  Caused by: java.util.zip.ZipException: error in opening zip file
          at java.util.zip.ZipFile.open(Native Method)
          at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:219)
          at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:149)
          at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:163)
          at org.gradle.wrapper.Install.unzip(Install.java:160)
          at org.gradle.wrapper.Install.access$400(Install.java:29)
          at org.gradle.wrapper.Install$1.call(Install.java:70)
          at org.gradle.wrapper.Install$1.call(Install.java:47)
          at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAcc
  essManager.java:65)
          ... 3 more
  
  E:\ionic\demo22\platforms\android\cordova\node_modules\q\q.js:126
                      throw e;
                            ^
  Error code 1 for command: cmd with args: /s /c "E:\ionic\demo22\platforms\androi
  d\gradlew cdvBuildDebug -b E:\ionic\demo22\platforms\android\build.gradle -Dorg.
  gradle.daemon=true"
  ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
  
  You may not have the required environment or OS to build this project
  Error: cmd: Command failed with exit code 1
      at ChildProcess.whenDone (C:\Users\cxt\AppData\Roaming\npm\node_modules\cord
  ova\node_modules\cordova-lib\src\cordova\superspawn.js:139:23)
      at ChildProcess.emit (events.js:110:17)
      at maybeClose (child_process.js:1015:16)
      at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
  </code></pre>
  
  <p>Error</p>