title: React-Native assembleRelease fails for task ':app:bundleReleaseJsAndAssets'
body: <p>When I run <code>./gradlew assembleRelease</code> build is failed with this error:</p>
  
  <blockquote>
  <pre><code>Error:Execution failed for task ':app:bundleReleaseJsAndAssets. 
  &gt; A problem occurred starting process 'command 'node'
  </code></pre>
  </blockquote>
  
  <p>I searched on the internet and found some topics about it, but I couldn't solve my problem.</p>
  
  <p>React-Native version: 0.54.0</p>
  
  <p>EDIT:<br>
  Now I'm running <code>./gradlew assembleRelease --info</code> from the terminal instead of Android Studio and I get different error.<br> Here is the result:</p>
  
  <pre><code>&gt; Task :app:processReleaseResources
  Putting task artifact state for task ':app:processReleaseResources' into context took 0.007 secs.
  file or directory '**/android/app/libs', not found
  file or directory '**/node_modules/appcenter-crashes/android/libs', not found
  file or directory '**/node_modules/appcenter-analytics/android/libs', not found
  file or directory '**/node_modules/appcenter/android/libs', not found
  file or directory '**/node_modules/react-native-interactable/lib/android/libs', not found
  file or directory '**/node_modules/react-native-navigation/android/app/libs', not found
  file or directory '**/android/app/libs', not found
  file or directory '**/node_modules/appcenter-crashes/android/libs', not found
  file or directory '**/appcenter-analytics/android/libs', not found
  file or directory '**/node_modules/appcenter/android/libs', not found
  file or directory '**/node_modules/react-native-interactable/lib/android/libs', not found
  file or directory '**/node_modules/react-native-navigation/android/app/libs', not found
  Executing task ':app:processReleaseResources' (up-to-date check took 0.035 secs) due to:
    Task has failed previously.
  All input files are considered out-of-date for incremental task ':app:processReleaseResources'.
  Unable do incremental execution: full task run
  file or directory '**/android/app/libs', not found
  file or directory '**/node_modules/appcenter-crashes/android/libs', not found
  file or directory '**/node_modules/appcenter-analytics/android/libs', not found
  file or directory '**/node_modules/appcenter/android/libs', not found
  file or directory '**/node_modules/react-native-interactable/lib/android/libs', not found
  file or directory '**/node_modules/react-native-navigation/android/app/libs', not found
  file or directory '**/android/app/libs', not found
  file or directory '**/node_modules/appcenter-crashes/android/libs', not found
  file or directory '**/node_modules/appcenter-analytics/android/libs', not found
  file or directory '**/node_modules/appcenter/android/libs', not found
  file or directory '**/node_modules/react-native-interactable/lib/android/libs', not found
  file or directory '**/node_modules/react-native-navigation/android/app/libs', not found
  Aapt2QueuedResourceProcessor is using **/Android/sdk/build-tools/26.0.2/aapt2
  Failed to execute aapt
  com.android.ide.common.process.ProcessException: Failed to execute aapt
  *
  *
  *
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':app:processReleaseResources'.
  &gt; Failed to execute aapt
  </code></pre>
  
  <p><br>
  It seems gradle is looking for libs folder in all modules, but there are no libs folders in the node modules. It's true, but I don't know why gradle is looking for libs folder.</p>