title: Failed for task ':app:processReleaseResources' Failed to execute aapt
body: <p>Questions what I tried:</p>
  
  <p><a href="https://stackoverflow.com/questions/35407479/gradle-build-failed-for-task-appprocessreleaseresources">Gradle Build Failed For Task app:processReleaseResources</a><br>
  <a href="https://stackoverflow.com/questions/46993773/failed-to-execute-aapt">Failed to execute aapt</a></p>
  
  <hr>
  
  <p>What I did:<br>
  I followed the React Native <a href="https://facebook.github.io/react-native/docs/signed-apk-android.html" rel="noreferrer">Generating Signed APK</a></p>
  
  <p>But at the part of <code>$ cd android &amp;&amp; ./gradlew assembleRelease</code> and I get the following error: </p>
  
  <pre><code>* What went wrong:
  Execution failed for task ':app:processReleaseResources'.
  &gt; Failed to execute aapt
  </code></pre>
  
  <p><a href="http://rwalstijn.mtdef.com/logs/react-native/openapp/fullBuild.log" rel="noreferrer">Full build log</a></p>
  
  <p>This is not solved with this question: "<a href="https://stackoverflow.com/questions/35407479/gradle-build-failed-for-task-appprocessreleaseresources">Gradle Build Failed For Task app:processReleaseResources</a>" for me.</p>
  
  <p>This are the build tools versions is tried: (in the file: <code>build.gradle</code>)</p>
  
  <pre><code>buildToolsVersion "23.0.1" // Android SDK Build-Tools
  buildToolsVersion "25.0.2" // Android SDK Build-Tools
  buildToolsVersion "26.0.2" // Android SDK Build-Tools
  buildToolsVersion "26.1.1" // Android Tools
  buildToolsVersion "27.0.1" // Android SDK Platform-Tools
  buildToolsVersion "27.0.3" // Android SDK Build-Tools
  </code></pre>
  
  <p>I have all the build tools versions installed from the <code>Appearance &amp; Behavior &gt; System Settings &gt; Android SDK</code> page tab SDK Tools </p>
  
  <p>The <code>buildToolsVersion "26.1.1" // Android Tools</code> Is the only one thats not giving me this error:</p>
  
  <pre><code>* What went wrong:
  Execution failed for task ':app:processReleaseResources'.
  &gt; Failed to execute aapt
  </code></pre>
  
  <p>But the error is:</p>
  
  <pre><code>* What went wrong:
  A problem occurred configuring project ':app'.
  &gt; Failed to find Build Tools revision 26.1.1
  </code></pre>
  
  <p>Therefore I found: <a href="https://stackoverflow.com/questions/36683726/failed-to-find-build-tools-revision-23-0-1">Failed to find Build Tools revision 23.0.1</a><br>
  But that answer did not work.</p>
  
  <blockquote>
  <pre><code>$ android list sdk -a
  </code></pre>
  </blockquote>
  
  <p>Did not work and returned <code>bash: android: command not found</code></p>
  
  <p><strong>PS I am a newbie at react-native</strong></p>