React-native, Error: Execution failed for task ':app:mergeDebugResources'. > Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:
See original GitHub issueDescription
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.
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:
- Created 7 years ago
- Comments:5
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
@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.