cordova phonegap error 1 while build apk
<pre><code>FAILURE: Build failed with an exception.
</code></pre>

<ul>
<li><p>What went wrong:</p>

<blockquote>
  <p>Execution failed for task ':processDebugResources'.
  com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\adt-bundle-windows-x86_64-20140702\adt-bundle-windows-x86_64-20140702\sdk\build-tools\22.0.1\aapt.exe'' finished with non-zero exit value 1</p>
</blockquote></li>
<li><p>Try:</p>

<blockquote>
  <p>BUILD FAILED
     Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.</p>

<pre><code>Total time: 7.291 secs
ERROR building one of the platforms: Error code 1 for command: cmd with args: /s,/c,"E:\nissagaza\platforms\android\gradlew cdvBuildDebug
</code></pre>
  
  <p>-b E:\nissagaza\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
      You may not have the required environment or OS to build this project
      Error: Error code 1 for command: cmd with args: /s,/c,"E:\nissagaza\platforms\android\gradlew cdvBuildDebug -b
  E:\nissagaza\platforms\android\build.gradle -Dorg.gradle.daemon=true
  -Pandroid.useDeprecatedNdk=true"</p>
</blockquote></li>
</ul>