React Native android build FAILD :app:mergeReleaseResourcesError Execution failed for task ':app:mergeReleaseResources' building APKLoop inside React JSXWhat is the difference between using constructor vs getInitialState in React / React Native?Programmatically navigate using react routerReact Native android build failed. SDK location not foundWhat is the difference between React Native and React?How to solve the error Failed to execute aapt when building an APK with react-native?React Native AAPT error on Release buildError: Execution failed for task ':app:processDebugResources'React Native - No resource identifier found for attribute 'appComponentFactory' in package 'android'React Native: com.android.build.api.transform.TransformException: Error while generating the main dex list

MAXDOP Settings for SQL Server 2014

Indicating multiple different modes of speech (fantasy language or telepathy)

Greatest common substring

Could the E-bike drivetrain wear down till needing replacement after 400 km?

Did US corporations pay demonstrators in the German demonstrations against article 13?

Does having a TSA Pre-Check member in your flight reservation increase the chances that everyone gets Pre-Check?

Why do IPv6 unique local addresses have to have a /48 prefix?

What (else) happened July 1st 1858 in London?

Has Darkwing Duck ever met Scrooge McDuck?

How can Trident be so inexpensive? Will it orbit Triton or just do a (slow) flyby?

Diode in opposite direction?

If a character with the Alert feat rolls a crit fail on their Perception check, are they surprised?

How do ground effect vehicles perform turns?

Does the Mind Blank spell prevent the target from being frightened?

What does this horizontal bar at the first measure mean?

Should I stop contributing to retirement accounts?

Can someone explain how this makes sense electrically?

Freedom of speech and where it applies

Find last 3 digits of this monster number

Two-sided logarithm inequality

Longest common substring in linear time

Folder comparison

Customize circled numbers

Melting point of aspirin, contradicting sources



React Native android build FAILD :app:mergeReleaseResources


Error Execution failed for task ':app:mergeReleaseResources' building APKLoop inside React JSXWhat is the difference between using constructor vs getInitialState in React / React Native?Programmatically navigate using react routerReact Native android build failed. SDK location not foundWhat is the difference between React Native and React?How to solve the error Failed to execute aapt when building an APK with react-native?React Native AAPT error on Release buildError: Execution failed for task ':app:processDebugResources'React Native - No resource identifier found for attribute 'appComponentFactory' in package 'android'React Native: com.android.build.api.transform.TransformException: Error while generating the main dex list













2















The App is working fine, in fact I have built 2 release APKs. This time I modified the code and came to do ./gradlew assembleRelease and I got the following error:



Error



FAILURE: Build failed with an exception.



  • What went wrong:
    Execution failed for task ':app:mergeReleaseResources'.

Expectation



To generate a healthy APK ready to publish.



Extra Info



  1. I have done the signing and the .keystore in the right place ../android/app

  2. Updated ../android/gradle.properties as instructed

Here is the complete stacktrace:



org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeReleaseResources'.Close stacktrace
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ResolveBuildCacheKeyExecuter.execute(ResolveBuildCacheKeyExecuter.java:79)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)


Thank you.



Screenshot from the Scan1



Screenshot from the Scan2



Screenshot from the Scan3



from android Studio - I believe it is related to the issue



Screenshot from the Scan4










share|improve this question
























  • Please don’t post screenshots of your errors. Copy your error, edit your question and paste them in.

    – Andrew
    Mar 8 at 6:45











  • @Mohammed Al Joohi, try clearing your build folder and stop any debuggers/emulators attached and then try the build.

    – Furqan Hameedi
    Mar 8 at 6:45











  • Please include the whole stacktrace from the 'Screenshot from the Scan3' image. Have you tried: /gradlew clean assembleRelease?

    – Andreas Lorenzen
    Mar 8 at 6:49











  • I did that multiple times

    – Mohammed Al Joohi
    Mar 8 at 6:53






  • 1





    Possible duplicate of Error Execution failed for task ':app:mergeReleaseResources' building APK

    – Andreas Lorenzen
    Mar 8 at 10:42















2















The App is working fine, in fact I have built 2 release APKs. This time I modified the code and came to do ./gradlew assembleRelease and I got the following error:



Error



FAILURE: Build failed with an exception.



  • What went wrong:
    Execution failed for task ':app:mergeReleaseResources'.

Expectation



To generate a healthy APK ready to publish.



Extra Info



  1. I have done the signing and the .keystore in the right place ../android/app

  2. Updated ../android/gradle.properties as instructed

Here is the complete stacktrace:



org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeReleaseResources'.Close stacktrace
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ResolveBuildCacheKeyExecuter.execute(ResolveBuildCacheKeyExecuter.java:79)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)


Thank you.



Screenshot from the Scan1



Screenshot from the Scan2



Screenshot from the Scan3



from android Studio - I believe it is related to the issue



Screenshot from the Scan4










share|improve this question
























  • Please don’t post screenshots of your errors. Copy your error, edit your question and paste them in.

    – Andrew
    Mar 8 at 6:45











  • @Mohammed Al Joohi, try clearing your build folder and stop any debuggers/emulators attached and then try the build.

    – Furqan Hameedi
    Mar 8 at 6:45











  • Please include the whole stacktrace from the 'Screenshot from the Scan3' image. Have you tried: /gradlew clean assembleRelease?

    – Andreas Lorenzen
    Mar 8 at 6:49











  • I did that multiple times

    – Mohammed Al Joohi
    Mar 8 at 6:53






  • 1





    Possible duplicate of Error Execution failed for task ':app:mergeReleaseResources' building APK

    – Andreas Lorenzen
    Mar 8 at 10:42













2












2








2








The App is working fine, in fact I have built 2 release APKs. This time I modified the code and came to do ./gradlew assembleRelease and I got the following error:



Error



FAILURE: Build failed with an exception.



  • What went wrong:
    Execution failed for task ':app:mergeReleaseResources'.

Expectation



To generate a healthy APK ready to publish.



Extra Info



  1. I have done the signing and the .keystore in the right place ../android/app

  2. Updated ../android/gradle.properties as instructed

Here is the complete stacktrace:



org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeReleaseResources'.Close stacktrace
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ResolveBuildCacheKeyExecuter.execute(ResolveBuildCacheKeyExecuter.java:79)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)


Thank you.



Screenshot from the Scan1



Screenshot from the Scan2



Screenshot from the Scan3



from android Studio - I believe it is related to the issue



Screenshot from the Scan4










share|improve this question
















The App is working fine, in fact I have built 2 release APKs. This time I modified the code and came to do ./gradlew assembleRelease and I got the following error:



Error



FAILURE: Build failed with an exception.



  • What went wrong:
    Execution failed for task ':app:mergeReleaseResources'.

Expectation



To generate a healthy APK ready to publish.



Extra Info



  1. I have done the signing and the .keystore in the right place ../android/app

  2. Updated ../android/gradle.properties as instructed

Here is the complete stacktrace:



org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeReleaseResources'.Close stacktrace
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ResolveBuildCacheKeyExecuter.execute(ResolveBuildCacheKeyExecuter.java:79)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)


Thank you.



Screenshot from the Scan1



Screenshot from the Scan2



Screenshot from the Scan3



from android Studio - I believe it is related to the issue



Screenshot from the Scan4







reactjs react-native react-native-android






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 at 7:17









Andreas Lorenzen

1,038412




1,038412










asked Mar 8 at 6:40









Mohammed Al JoohiMohammed Al Joohi

154




154












  • Please don’t post screenshots of your errors. Copy your error, edit your question and paste them in.

    – Andrew
    Mar 8 at 6:45











  • @Mohammed Al Joohi, try clearing your build folder and stop any debuggers/emulators attached and then try the build.

    – Furqan Hameedi
    Mar 8 at 6:45











  • Please include the whole stacktrace from the 'Screenshot from the Scan3' image. Have you tried: /gradlew clean assembleRelease?

    – Andreas Lorenzen
    Mar 8 at 6:49











  • I did that multiple times

    – Mohammed Al Joohi
    Mar 8 at 6:53






  • 1





    Possible duplicate of Error Execution failed for task ':app:mergeReleaseResources' building APK

    – Andreas Lorenzen
    Mar 8 at 10:42

















  • Please don’t post screenshots of your errors. Copy your error, edit your question and paste them in.

    – Andrew
    Mar 8 at 6:45











  • @Mohammed Al Joohi, try clearing your build folder and stop any debuggers/emulators attached and then try the build.

    – Furqan Hameedi
    Mar 8 at 6:45











  • Please include the whole stacktrace from the 'Screenshot from the Scan3' image. Have you tried: /gradlew clean assembleRelease?

    – Andreas Lorenzen
    Mar 8 at 6:49











  • I did that multiple times

    – Mohammed Al Joohi
    Mar 8 at 6:53






  • 1





    Possible duplicate of Error Execution failed for task ':app:mergeReleaseResources' building APK

    – Andreas Lorenzen
    Mar 8 at 10:42
















Please don’t post screenshots of your errors. Copy your error, edit your question and paste them in.

– Andrew
Mar 8 at 6:45





Please don’t post screenshots of your errors. Copy your error, edit your question and paste them in.

– Andrew
Mar 8 at 6:45













@Mohammed Al Joohi, try clearing your build folder and stop any debuggers/emulators attached and then try the build.

– Furqan Hameedi
Mar 8 at 6:45





@Mohammed Al Joohi, try clearing your build folder and stop any debuggers/emulators attached and then try the build.

– Furqan Hameedi
Mar 8 at 6:45













Please include the whole stacktrace from the 'Screenshot from the Scan3' image. Have you tried: /gradlew clean assembleRelease?

– Andreas Lorenzen
Mar 8 at 6:49





Please include the whole stacktrace from the 'Screenshot from the Scan3' image. Have you tried: /gradlew clean assembleRelease?

– Andreas Lorenzen
Mar 8 at 6:49













I did that multiple times

– Mohammed Al Joohi
Mar 8 at 6:53





I did that multiple times

– Mohammed Al Joohi
Mar 8 at 6:53




1




1





Possible duplicate of Error Execution failed for task ':app:mergeReleaseResources' building APK

– Andreas Lorenzen
Mar 8 at 10:42





Possible duplicate of Error Execution failed for task ':app:mergeReleaseResources' building APK

– Andreas Lorenzen
Mar 8 at 10:42












1 Answer
1






active

oldest

votes


















0














I believe this could be a duplicate of this question:



Error Execution failed for task ':app:mergeReleaseResources' building APK




The problem occured becaused when I tried to build once, it has
created drawables dirs on android/app/src/main/res/. Then when I tried
on second time, it has shown me this error Execution failed for task
':app:mergeReleaseResources' building APK



I just deleted the drawable-* dirs and it worked.




To remove the directory drawable--*:



rm -rf android/app/src/main/res/drawable-*





share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55057989%2freact-native-android-build-faild-appmergereleaseresources%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I believe this could be a duplicate of this question:



    Error Execution failed for task ':app:mergeReleaseResources' building APK




    The problem occured becaused when I tried to build once, it has
    created drawables dirs on android/app/src/main/res/. Then when I tried
    on second time, it has shown me this error Execution failed for task
    ':app:mergeReleaseResources' building APK



    I just deleted the drawable-* dirs and it worked.




    To remove the directory drawable--*:



    rm -rf android/app/src/main/res/drawable-*





    share|improve this answer



























      0














      I believe this could be a duplicate of this question:



      Error Execution failed for task ':app:mergeReleaseResources' building APK




      The problem occured becaused when I tried to build once, it has
      created drawables dirs on android/app/src/main/res/. Then when I tried
      on second time, it has shown me this error Execution failed for task
      ':app:mergeReleaseResources' building APK



      I just deleted the drawable-* dirs and it worked.




      To remove the directory drawable--*:



      rm -rf android/app/src/main/res/drawable-*





      share|improve this answer

























        0












        0








        0







        I believe this could be a duplicate of this question:



        Error Execution failed for task ':app:mergeReleaseResources' building APK




        The problem occured becaused when I tried to build once, it has
        created drawables dirs on android/app/src/main/res/. Then when I tried
        on second time, it has shown me this error Execution failed for task
        ':app:mergeReleaseResources' building APK



        I just deleted the drawable-* dirs and it worked.




        To remove the directory drawable--*:



        rm -rf android/app/src/main/res/drawable-*





        share|improve this answer













        I believe this could be a duplicate of this question:



        Error Execution failed for task ':app:mergeReleaseResources' building APK




        The problem occured becaused when I tried to build once, it has
        created drawables dirs on android/app/src/main/res/. Then when I tried
        on second time, it has shown me this error Execution failed for task
        ':app:mergeReleaseResources' building APK



        I just deleted the drawable-* dirs and it worked.




        To remove the directory drawable--*:



        rm -rf android/app/src/main/res/drawable-*






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 8 at 10:44









        Andreas LorenzenAndreas Lorenzen

        1,038412




        1,038412





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55057989%2freact-native-android-build-faild-appmergereleaseresources%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

            2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

            Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme