Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

> ReactNativeModules$_generatePackagesFile_closure3 #28108

Closed
SERGEIBARATS opened this issue Feb 18, 2020 · 10 comments
Closed

> ReactNativeModules$_generatePackagesFile_closure3 #28108

SERGEIBARATS opened this issue Feb 18, 2020 · 10 comments
Labels
Needs: Triage 🔍 Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@SERGEIBARATS
Copy link

Description:

Hello,
I am trying to run project on android and it failed with this issue
error Failed to install the app. Make sure you have the Android development environment set up:
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

  • Where:
    Script '/Users/sergeibarats/leumicardvgc/node_modules/@react-native-community/cli-platform-android/native_modules.gradle' line: 130

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

ReactNativeModules$_generatePackagesFile_closure3

React Native version: 0.61.5

Steps To Reproduce

@stefanvesca
Copy link

+1

@Gutyn
Copy link

Gutyn commented Feb 21, 2020

anything? @SERGEIBARATS

@personapp
Copy link

+1

@tapz
Copy link

tapz commented Apr 29, 2020

Started to occur also with react-native run-android. Earlier only with ./gradlew assembleTulkaRelease. With assemble --scan helped, but with react-native there is no such option.

RN: 0.62.2
Gradle: 6.3 (updated to this, but did not help)

FAILURE: Build failed with an exception.

* Where:
Script '/Users/tapani/projects/xxx/xxxapp/node_modules/@react-native-community/cli-platform-android/native_modules.gradle' line: 128

* What went wrong:
Execution failed for task ':app:generatePackageList'.
> ReactNativeModules$_generatePackagesFile_closure3

@tapz
Copy link

tapz commented Apr 29, 2020

Is there a way to pass arguments to gradlew from react-native? I could live with this Gradle mess by using --scan.

@dhawal1248
Copy link

+1

@ghost
Copy link

ghost commented Oct 4, 2020

  1. cd android
  2. ./gradlew assembleDebug
  3. ./gradlew cleanBuildCache
  4. react-native run-android

helped me

@resting
Copy link

resting commented Nov 25, 2020

Had the same problem while upgrading to 0.63.3.
Turn out it was due to syntax error in MainApplication.java while copying the diff.
Check all the functions are closed properly.
./gradlew assembleDebug --scan helped showed more details

@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Apr 10, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Triage 🔍 Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

7 participants