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.

Execution failed for task ... react_c6fqktz01lbn92un4jk0a399q$_run_closure4$_closure6$_closure7$_closure12$_closure13

See original GitHub issue

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

> Task :app:bundleOrgReleaseJsAndAssets FAILED

FAILURE: Build failed with an exception.

* Where:
Script '/Users/tapani/projects/org/app/node_modules/react-native/react.gradle' line: 165

* What went wrong:
Execution failed for task ':app:bundleOrgReleaseJsAndAssets'.
> react_c6fqktz01lbn92un4jk0a399q$_run_closure4$_closure6$_closure7$_closure12$_closure13

React Native version:

System:
    OS: macOS 10.15.4
    CPU: (4) x64 Intel(R) Core(TM) i7-6567U CPU @ 3.30GHz
    Memory: 495.52 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.16.2 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 28, 29
      Build Tools: 21.1.1, 21.1.2, 22.0.0, 22.0.1, 23.0.1, 23.0.2, 23.0.3, 24.0.1, 25.0.0, 25.0.2, 25.0.3, 26.0.0, 26.0.2, 27.0.3, 28.0.0, 28.0.2, 28.0.3, 29.0.2
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.6 AI-192.7142.36.36.6241897
    Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
  Languages:
    Python: 2.7.17 - /usr/local/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1 
    react-native: 0.62.2 => 0.62.2 
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. cd android && ./gradlew assembleOrgRelease && cd -

Expected Results

An APK is created.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
Segfaultdcommented, Jun 15, 2020

Any chance this got attention? I’m struggling with the exact same issue:

Cause: react_18grxeqkidx3smppn0lsre3n5$_run_closure4$_closure6$_closure10$_closure18

3reactions
akashp1997commented, Apr 25, 2021

For me, removing the <home>/.gradle folder did the trick to get rid of this error

Read more comments on GitHub >

github_iconTop Results From Across the Web

Execution failed for task ':app ...
This problem because the project reference dependent package which updates to the AndroidX(react-native-device dependence on com.google.android.
Read more >
Gradle: Execution failed for task ':processDebugManifest'
Found the solution to this problem: gradle assemble -info gave me the hint that the Manifests have different SDK Versions and cannot be...
Read more >
How to fix "Execution failed for task ':app ... - GeeksforGeeks
So, In this article, we will discuss 6 different methods for fixing the “Execution failed for task ':app:transformClassesWithDexForRelease” ...
Read more >
Error while evaluating property 'extraGeneratedResDir' of task
In this video i show you , How to fix " Execution failed for task ':app:mapDebugSourceSetPaths'. Error while evaluating property ...
Read more >
Execution failed for task ':app:checkDebugAarMetadata' - Reddit
Task :app:checkDebugAarMetadata > Task :app:checkDebugAarMetadata FAILED 4 actionable tasks: 4 executed [Fatal Error] android-jsc-r174650.pom:2: ...
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