title: Execution failed for task ':CordovaLib:processDebugResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt
body: <p>I am learning how to use Ionic by doing a test application but I have had this problem for two days. I have looked for possible solutions but none has worked for me.</p>
  
  <p>The problem arises when I want to test my application on my android phone.
  When using this command <code>ionic cordova run android</code> and gives me the following error </p>
  
  <blockquote>
    <p>FAILURE: Build failed with an exception.</p>
    
    <p>What went wrong:</p>
    
    <p>Execution failed for task ':CordovaLib:processDebugResources'.
    com.android.ide.common.process.ProcessException: Failed to execute aapt</p>
    
    <p>[ERROR] An error occurred while running cordova run android (exit code 1).</p>
  </blockquote>
  
  <p>I'm not sure what's wrong. My application it's very simple it's based on Ionic's template <code>ionic start myApp tabs</code> and I'm using <strong>Ionic native plugin Geolocation</strong>.</p>
  
  <p>I've running <code>ionic info</code> and returns this</p>
  
  <pre><code>cli packages:
      @ionic/cli-utils  : 1.19.0
      ionic (Ionic CLI) : 3.19.0
  global packages:
      cordova (Cordova CLI) : 7.1.0
  local packages:
      @ionic/app-scripts : 3.1.4
      Cordova Platforms  : android 6.3.0
      Ionic Framework    : ionic-angular 3.9.2
  </code></pre>
  
  <p>I also checked the official Cordova's doc for <a href="https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html" rel="noreferrer">Android development</a> and my paths for Java and Android are OK.</p>
  
  <p>Also with <code>ionic cordova requirements</code> everything looks to be OK.</p>
  
  <pre><code>Java JDK: installed 1.8.0
  Android SDK: installed true
  Android target: installed android-26,android-25,android-23
  Gradle: installed C:\Program Files\Android\Android Studio\gradle\gradle-4.1\bin\gradle
  </code></pre>
  
  <p>Thanks for any help.</p>