question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React-native, Error: Execution failed for task ':app:mergeDebugResources'. > Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:

See original GitHub issue

Description

I followed the installation steps at react-native-getting-started. When I finally execute the last step react-native run-android I get an error message like this.

screenshot 3

The error message says: Execution failed for task ‘:app:mergeDebugResources’.

Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:

Please help me fix this. Thankyou.

Additional Information about my development environment

  • I’m testing on a physical device, connecting it via USB cable.
  • Device: OnePlus 2, Android Version: 6.0.1, OxygenOS: 3.5.6
  • React Native version: 0.42.3*
  • React Native CLI version: 2.0.1
  • Platform: Android
  • Operating System: Windows 10
  • Dev tools: Android Studio (v2.3)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
mikaalanwarcommented, Mar 22, 2017

Hey there! I’m new to react-native as well. A similar issue occurred for me too. To resolve it, avoid building the project in “C:\Windows\System32”. It’s probably due to write permissions in that area.

1reaction
Nick177commented, Mar 20, 2017

@prasang7 Hello. I am new to react-native and have undergone the installation process on Windows 10 in the past week. I tried replicating your error, and I have found that it happens when I create a project in the same “C:\Windows\system32” directory as you have done. On the other hand, it does not give me any problems when I create and run under "C:\Users\user_name_here". I am not sure why it does this. Try it out if this issue is still occurring.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error:Execution failed for task ':app:mergeDebugResources ...
Error :Execution failed for task ':app:mergeDebugResources'. Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.
Read more >
How to fix "Execution failed for task ':app ... - GeeksforGeeks
ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.
Read more >
execution failed for task ':react-native-text-input-mask ...
What went wrong: Execution failed for task ':app:mergeDebugResources'. Error: java.util.concurrent.ExecutionException: com.android.ide.common.
Read more >
React Native开发-- Error:Execution failed for task ':app ...
Error : java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: 尝试了很多方法,终于解决原因是Android studio对 ...
Read more >
error:execution failed for task ':app ...
java.lang. ... Manifest merger failed with multiple errors*** 在自己项目 ... Not a PNG file Error:Execution failed for task ':app:mergeDebugResources'.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found