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

[0.75.x] Build failing with: "RNGP - Autolinking: Could not find project.android.packageName in react-native config output!" #46134

Closed
cl3i550n opened this issue Aug 21, 2024 · 31 comments
Assignees
Labels

Comments

@cl3i550n
Copy link

Description

Fresh install CLI and try yarn android only

Steps to reproduce

  1. npx @react-native-community/cli@latest init AwesomeProject
  2. yarn android

React Native Version

0.75.2

Affected Platforms

Runtime - Android, Build - Windows

Output of npx react-native info

System:
  OS: Windows 11 10.0.22631
  CPU: (20) x64 Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
  Memory: 983.44 MB / 15.93 GB
Binaries:
  Node:
    version: 20.16.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 3.6.4
    path: ~\AppData\Roaming\npm\yarn.CMD
  npm:
    version: 10.6.0
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "30"
      - "32"
      - "33"
      - "34"
      - "35"
    Build Tools:
      - 30.0.3
      - 33.0.0
      - 33.0.1
      - 34.0.0
      - 35.0.0
      - 35.0.0
      - 35.0.0
    System Images:
      - android-30 | Google Play Intel x86 Atom
      - android-33 | Google Play Intel x86_64 Atom
      - android-34 | Google APIs Intel x86_64 Atom
      - android-34 | Google Play Intel x86_64 Atom
      - android-35 | Google APIs Intel x86_64 Atom
    Android NDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-241.18034.62.2411.12071903
  Visual Studio: Not Found
Languages:
  Java: 17.0.12
  Ruby:
    version: 3.3.4
    path: C:\DevKit\bin\ruby.EXE
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.75.2
    wanted: 0.75.2
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs

> Task :app:generateAutolinkingPackageList FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:generateAutolinkingPackageList'.
> RNGP - Autolinking: Could not find project.android.packageName in react-native config output! Could not autolink packages without this field.

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:generateAutolinkingPackageList'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:130)
        at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:128)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:116)
        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314)
        at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
Caused by: java.lang.IllegalStateException: RNGP - Autolinking: Could not find project.android.packageName in react-native config output! Could not autolink packages without this field.
        at com.facebook.react.tasks.GeneratePackageListTask.taskAction(GeneratePackageListTask.kt:38)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
        at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:244)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
        at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:229)
        at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:212)
        at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:195)
        at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:162)
        at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:105)
        at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44)
        at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:59)
        at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:56)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:56)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44)
        at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
        at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
        at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
        at org.gradle.internal.execution.steps.PreCreateOutputParentsStep.execute(PreCreateOutputParentsStep.java:50)
        at org.gradle.internal.execution.steps.PreCreateOutputParentsStep.execute(PreCreateOutputParentsStep.java:28)
        at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:67)
        at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:37)
        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:61)
        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:26)
        at org.gradle.internal.execution.steps.CaptureOutputsAfterExecutionStep.execute(CaptureOutputsAfterExecutionStep.java:67)
        at org.gradle.internal.execution.steps.CaptureOutputsAfterExecutionStep.execute(CaptureOutputsAfterExecutionStep.java:45)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:40)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:29)
        at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:189)
        at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:75)
        at org.gradle.internal.Either$Right.fold(Either.java:175)
        at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:62)
        at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:73)
        at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:48)
        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:46)
        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:35)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:76)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:54)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:54)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:36)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
        at org.gradle.internal.execution.steps.ResolveIncrementalCachingStateStep.executeDelegate(ResolveIncrementalCachingStateStep.java:49)
        at org.gradle.internal.execution.steps.ResolveIncrementalCachingStateStep.executeDelegate(ResolveIncrementalCachingStateStep.java:27)
        at org.gradle.internal.execution.steps.AbstractResolveCachingStateStep.execute(AbstractResolveCachingStateStep.java:71)
        at org.gradle.internal.execution.steps.AbstractResolveCachingStateStep.execute(AbstractResolveCachingStateStep.java:39)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:65)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:36)
        at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:106)
        at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:55)
        at org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep.execute(AbstractCaptureStateBeforeExecutionStep.java:64)
        at org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep.execute(AbstractCaptureStateBeforeExecutionStep.java:43)
        at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.executeWithNonEmptySources(AbstractSkipEmptyWorkStep.java:125)
        at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.execute(AbstractSkipEmptyWorkStep.java:56)
        at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.execute(AbstractSkipEmptyWorkStep.java:36)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
        at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:36)
        at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:23)
        at org.gradle.internal.execution.steps.HandleStaleOutputsStep.execute(HandleStaleOutputsStep.java:75)
        at org.gradle.internal.execution.steps.HandleStaleOutputsStep.execute(HandleStaleOutputsStep.java:41)
        at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.lambda$execute$0(AssignMutableWorkspaceStep.java:35)
        at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:289)
        at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.execute(AssignMutableWorkspaceStep.java:31)
        at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.execute(AssignMutableWorkspaceStep.java:22)
        at org.gradle.internal.execution.steps.ChoosePipelineStep.execute(ChoosePipelineStep.java:40)
        at org.gradle.internal.execution.steps.ChoosePipelineStep.execute(ChoosePipelineStep.java:23)
        at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.lambda$execute$2(ExecuteWorkBuildOperationFiringStep.java:67)
        at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:67)
        at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:39)
        at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:46)
        at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:34)
        at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:48)
        at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:35)
        at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:61)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:127)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:116)
        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314)
        at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)


BUILD FAILED in 4s
15 actionable tasks: 5 executed, 10 up-to-date

Reproducer

https://github.com/cl3i550n

Screenshots and Videos

image

@react-native-bot
Copy link
Collaborator

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@react-native-bot react-native-bot added Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Aug 21, 2024
@react-native-bot
Copy link
Collaborator

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:

@blakef
Copy link
Contributor

blakef commented Aug 21, 2024

Could you please provide the output of: npx @react-native-community/cli@latest config for your project (you can remove all of the .commands entries to save space)?

I'd expect it to output something similar to this:

$ npx @react-native-community/cli@latest config | jq 'del(.commands)'
{
  "root": "/Users/blakef/tmp/AwesomeProject",
  "reactNativePath": "/Users/blakef/tmp/AwesomeProject/node_modules/react-native",
  "reactNativeVersion": "0.75",
  "dependencies": {},
  "healthChecks": [],
  "platforms": {
    "ios": {},
    "android": {}
  },
  "assets": [],
  "project": {
    "ios": {
      "sourceDir": "/Users/blakef/tmp/AwesomeProject/ios",
      "xcodeProject": {
        "name": "AwesomeProject.xcodeproj",
        "path": ".",
        "isWorkspace": false
      },
      "assets": []
    },
    "android": {
      "sourceDir": "/Users/blakef/tmp/AwesomeProject/android",
      "appName": "app",
      "packageName": "com.awesomeproject",
      "applicationId": "com.awesomeproject",
      "mainActivity": ".MainActivity",
      "assets": []
    }
  }
}

@Sachin1116
Copy link

Sachin1116 commented Aug 22, 2024

{
  "root": "/Users/sachin/office/react-native/demoapp/myapp",
  "reactNativePath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native",
  "reactNativeVersion": "0.75",
  "dependencies": {
    "@aws-amplify/react-native": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@aws-amplify/react-native",
      "name": "@aws-amplify/react-native",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@aws-amplify/react-native/AmplifyRTNCore.podspec",
          "version": "1.1.4",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@aws-amplify/react-native/android",
          "packageImportPath": "import com.amazonaws.amplify.rtncore.AmplifyRTNCorePackage;",
          "packageInstance": "new AmplifyRTNCorePackage()",
          "buildTypes": [],
          "libraryName": "AmplifyRTNCore",
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@aws-amplify/react-native/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "@react-native-async-storage/async-storage": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-async-storage/async-storage",
      "name": "@react-native-async-storage/async-storage",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-async-storage/async-storage/RNCAsyncStorage.podspec",
          "version": "1.24.0",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-async-storage/async-storage/android",
          "packageImportPath": "import com.reactnativecommunity.asyncstorage.AsyncStoragePackage;",
          "packageInstance": "new AsyncStoragePackage()",
          "buildTypes": [],
          "libraryName": "rnasyncstorage",
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-async-storage/async-storage/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "@react-native-community/checkbox": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/checkbox",
      "name": "@react-native-community/checkbox",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/checkbox/RNCCheckbox.podspec",
          "version": "0.5.17",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/checkbox/android",
          "packageImportPath": "import com.reactnativecommunity.checkbox.ReactCheckBoxPackage;",
          "packageInstance": "new ReactCheckBoxPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/checkbox/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "@react-native-community/netinfo": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/netinfo",
      "name": "@react-native-community/netinfo",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/netinfo/react-native-netinfo.podspec",
          "version": "11.3.2",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/netinfo/android",
          "packageImportPath": "import com.reactnativecommunity.netinfo.NetInfoPackage;",
          "packageInstance": "new NetInfoPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-community/netinfo/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "@react-native-firebase/app": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/app",
      "name": "@react-native-firebase/app",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/app/RNFBApp.podspec",
          "version": "20.4.0",
          "configurations": [],
          "scriptPhases": [
            {
              "name": "[RNFB] Core Configuration",
              "path": "./ios_config.sh",
              "execution_position": "after_compile",
              "input_files": [
                "$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)"
              ]
            }
          ]
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/app/android",
          "packageImportPath": "import io.invertase.firebase.app.ReactNativeFirebaseAppPackage;",
          "packageInstance": "new ReactNativeFirebaseAppPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/app/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "@react-native-firebase/crashlytics": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/crashlytics",
      "name": "@react-native-firebase/crashlytics",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/crashlytics/RNFBCrashlytics.podspec",
          "version": "20.4.0",
          "configurations": [],
          "scriptPhases": [
            {
              "name": "[RNFB] Crashlytics Configuration",
              "path": "./ios_config.sh",
              "execution_position": "after_compile",
              "input_files": [
                "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}",
                "$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)"
              ]
            }
          ]
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/crashlytics/android",
          "packageImportPath": "import io.invertase.firebase.crashlytics.ReactNativeFirebaseCrashlyticsPackage;",
          "packageInstance": "new ReactNativeFirebaseCrashlyticsPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/crashlytics/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "@react-native-firebase/messaging": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/messaging",
      "name": "@react-native-firebase/messaging",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/messaging/RNFBMessaging.podspec",
          "version": "20.4.0",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/messaging/android",
          "packageImportPath": "import io.invertase.firebase.messaging.ReactNativeFirebaseMessagingPackage;",
          "packageInstance": "new ReactNativeFirebaseMessagingPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/@react-native-firebase/messaging/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "jail-monkey": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/jail-monkey",
      "name": "jail-monkey",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/jail-monkey/jail-monkey.podspec",
          "version": "2.8.0",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/jail-monkey/android",
          "packageImportPath": "import com.gantix.JailMonkey.JailMonkeyPackage;",
          "packageInstance": "new JailMonkeyPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/jail-monkey/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "lottie-react-native": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/lottie-react-native",
      "name": "lottie-react-native",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/lottie-react-native/lottie-react-native.podspec",
          "version": "6.7.2",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/lottie-react-native/android",
          "packageImportPath": "import com.airbnb.android.react.lottie.LottiePackage;",
          "packageInstance": "new LottiePackage()",
          "buildTypes": [],
          "libraryName": "lottiereactnative",
          "componentDescriptors": [
            "LottieAnimationViewComponentDescriptor"
          ],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/lottie-react-native/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-aes-gcm-crypto": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-aes-gcm-crypto",
      "name": "react-native-aes-gcm-crypto",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-aes-gcm-crypto/react-native-aes-gcm-crypto.podspec",
          "version": "0.2.2",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-aes-gcm-crypto/android",
          "packageImportPath": "import com.reactnativeaesgcmcrypto.AesGcmCryptoPackage;",
          "packageInstance": "new AesGcmCryptoPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-aes-gcm-crypto/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-barcode-creator": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-barcode-creator",
      "name": "react-native-barcode-creator",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-barcode-creator/react-native-barcode-creator.podspec",
          "version": "0.1.7",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-barcode-creator/android",
          "packageImportPath": "import com.reactnativebarcodecreator.BarcodeCreatorPackage;",
          "packageInstance": "new BarcodeCreatorPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-barcode-creator/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-document-picker": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-document-picker",
      "name": "react-native-document-picker",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-document-picker/react-native-document-picker.podspec",
          "version": "9.3.0",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-document-picker/android",
          "packageImportPath": "import com.reactnativedocumentpicker.RNDocumentPickerPackage;",
          "packageInstance": "new RNDocumentPickerPackage()",
          "buildTypes": [],
          "libraryName": "rndocumentpicker",
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-document-picker/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-exit-app": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-exit-app",
      "name": "react-native-exit-app",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-exit-app/RNExitApp.podspec",
          "version": "2.0.0",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-exit-app/android",
          "packageImportPath": "import com.github.wumke.RNExitApp.RNExitAppPackage;",
          "packageInstance": "new RNExitAppPackage()",
          "buildTypes": [],
          "libraryName": "RNExitAppSpec",
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-exit-app/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-fs": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-fs",
      "name": "react-native-fs",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-fs/RNFS.podspec",
          "version": "2.20.0",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-fs/android",
          "packageImportPath": "import com.rnfs.RNFSPackage;",
          "packageInstance": "new RNFSPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-fs/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-gesture-handler": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-gesture-handler",
      "name": "react-native-gesture-handler",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-gesture-handler/RNGestureHandler.podspec",
          "version": "2.18.1",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-gesture-handler/android",
          "packageImportPath": "import com.swmansion.gesturehandler.RNGestureHandlerPackage;",
          "packageInstance": "new RNGestureHandlerPackage()",
          "buildTypes": [],
          "libraryName": "rngesturehandler_codegen",
          "componentDescriptors": [
            "RNGestureHandlerButtonComponentDescriptor",
            "RNGestureHandlerRootViewComponentDescriptor"
          ],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-gesture-handler/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-get-random-values": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-get-random-values",
      "name": "react-native-get-random-values",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-get-random-values/react-native-get-random-values.podspec",
          "version": "1.11.0",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-get-random-values/android",
          "packageImportPath": "import org.linusu.RNGetRandomValuesPackage;",
          "packageInstance": "new RNGetRandomValuesPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-get-random-values/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-image-picker": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-image-picker",
      "name": "react-native-image-picker",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-image-picker/react-native-image-picker.podspec",
          "version": "7.1.2",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-image-picker/android",
          "packageImportPath": "import com.imagepicker.ImagePickerPackage;",
          "packageInstance": "new ImagePickerPackage()",
          "buildTypes": [],
          "libraryName": "RNImagePickerSpec",
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-image-picker/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-in-app-review": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-in-app-review",
      "name": "react-native-in-app-review",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-in-app-review/react-native-in-app-review.podspec",
          "version": "4.3.3",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-in-app-review/android",
          "packageImportPath": "import com.ibits.react_native_in_app_review.AppReviewPackage;",
          "packageInstance": "new AppReviewPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-in-app-review/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-inappbrowser-reborn": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-inappbrowser-reborn",
      "name": "react-native-inappbrowser-reborn",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-inappbrowser-reborn/RNInAppBrowser.podspec",
          "version": "3.7.0",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-inappbrowser-reborn/android",
          "packageImportPath": "import com.proyecto26.inappbrowser.RNInAppBrowserPackage;",
          "packageInstance": "new RNInAppBrowserPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-inappbrowser-reborn/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-linear-gradient": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-linear-gradient",
      "name": "react-native-linear-gradient",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-linear-gradient/BVLinearGradient.podspec",
          "version": "2.8.3",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-linear-gradient/android",
          "packageImportPath": "import com.BV.LinearGradient.LinearGradientPackage;",
          "packageInstance": "new LinearGradientPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-linear-gradient/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-otp-verify": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-otp-verify",
      "name": "react-native-otp-verify",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-otp-verify/react-native-otp-verify.podspec",
          "version": "1.1.8",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-otp-verify/android",
          "packageImportPath": "import com.faizal.OtpVerify.OtpVerifyPackage;",
          "packageInstance": "new OtpVerifyPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-otp-verify/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-permissions": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-permissions",
      "name": "react-native-permissions",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-permissions/RNPermissions.podspec",
          "version": "4.1.5",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-permissions/android",
          "packageImportPath": "import com.zoontek.rnpermissions.RNPermissionsPackage;",
          "packageInstance": "new RNPermissionsPackage()",
          "buildTypes": [],
          "libraryName": "RNPermissionsSpec",
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-permissions/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-reanimated": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-reanimated",
      "name": "react-native-reanimated",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-reanimated/RNReanimated.podspec",
          "version": "3.15.0",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-reanimated/android",
          "packageImportPath": "import com.swmansion.reanimated.ReanimatedPackage;",
          "packageInstance": "new ReanimatedPackage()",
          "buildTypes": [],
          "libraryName": "rnreanimated",
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-reanimated/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-safe-area-context": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-safe-area-context",
      "name": "react-native-safe-area-context",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-safe-area-context/react-native-safe-area-context.podspec",
          "version": "4.10.9",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-safe-area-context/android",
          "packageImportPath": "import com.th3rdwave.safeareacontext.SafeAreaContextPackage;",
          "packageInstance": "new SafeAreaContextPackage()",
          "buildTypes": [],
          "libraryName": "safeareacontext",
          "componentDescriptors": [
            "RNCSafeAreaProviderComponentDescriptor",
            "RNCSafeAreaViewComponentDescriptor"
          ],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-safe-area-context/android/src/main/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-screens": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-screens",
      "name": "react-native-screens",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-screens/RNScreens.podspec",
          "version": "3.34.0",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-screens/android",
          "packageImportPath": "import com.swmansion.rnscreens.RNScreensPackage;",
          "packageInstance": "new RNScreensPackage()",
          "buildTypes": [],
          "libraryName": "rnscreens",
          "componentDescriptors": [
            "RNSFullWindowOverlayComponentDescriptor",
            "RNSScreenContainerComponentDescriptor",
            "RNSScreenNavigationContainerComponentDescriptor",
            "RNSScreenStackHeaderConfigComponentDescriptor",
            "RNSScreenStackHeaderSubviewComponentDescriptor",
            "RNSScreenStackComponentDescriptor",
            "RNSSearchBarComponentDescriptor",
            "RNSScreenComponentDescriptor",
            "RNSModalScreenComponentDescriptor"
          ],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-screens/android/src/main/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-simple-biometrics": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-simple-biometrics",
      "name": "react-native-simple-biometrics",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-simple-biometrics/react-native-simple-biometrics.podspec",
          "version": "1.5.2",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-simple-biometrics/android",
          "packageImportPath": "import com.reactnativesimplebiometrics.SimpleBiometricsPackage;",
          "packageInstance": "new SimpleBiometricsPackage()",
          "buildTypes": [],
          "libraryName": "SimpleBiometrics",
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-simple-biometrics/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-sqlite-storage": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-sqlite-storage",
      "name": "react-native-sqlite-storage",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-sqlite-storage/react-native-sqlite-storage.podspec",
          "version": "6.0.1",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-sqlite-storage/platforms/android",
          "packageImportPath": "import org.pgsqlite.SQLitePluginPackage;",
          "packageInstance": "new SQLitePluginPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-sqlite-storage/platforms/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-vector-icons": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vector-icons",
      "name": "react-native-vector-icons",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vector-icons/RNVectorIcons.podspec",
          "version": "10.1.0",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vector-icons/android",
          "packageImportPath": "import com.oblador.vectoricons.VectorIconsPackage;",
          "packageInstance": "new VectorIconsPackage()",
          "buildTypes": [],
          "libraryName": "RNVectorIconsSpec",
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vector-icons/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-version-check": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-version-check",
      "name": "react-native-version-check",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-version-check/react-native-version-check.podspec",
          "version": "3.4.7",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-version-check/android",
          "packageImportPath": "import io.xogus.reactnative.versioncheck.RNVersionCheckPackage;",
          "packageInstance": "new RNVersionCheckPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-version-check/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-vision-camera": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera",
      "name": "react-native-vision-camera",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera/VisionCamera.podspec",
          "version": "4.5.1",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera/android",
          "packageImportPath": "import com.mrousavy.camera.react.CameraPackage;",
          "packageInstance": "new CameraPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-vision-camera-face-detector": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera-face-detector",
      "name": "react-native-vision-camera-face-detector",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera-face-detector/VisionCameraFaceDetector.podspec",
          "version": "1.7.1",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera-face-detector/android",
          "packageImportPath": "import com.visioncamerafacedetector.VisionCameraFaceDetectorPluginPackage;",
          "packageInstance": "new VisionCameraFaceDetectorPluginPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-vision-camera-face-detector/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-webview": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-webview",
      "name": "react-native-webview",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-webview/react-native-webview.podspec",
          "version": "13.10.5",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-webview/android",
          "packageImportPath": "import com.reactnativecommunity.webview.RNCWebViewPackage;",
          "packageInstance": "new RNCWebViewPackage()",
          "buildTypes": [],
          "libraryName": "RNCWebViewSpec",
          "componentDescriptors": [
            "RNCWebViewComponentDescriptor"
          ],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-webview/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "vision-camera-dynamsoft-label-recognizer": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/vision-camera-dynamsoft-label-recognizer",
      "name": "vision-camera-dynamsoft-label-recognizer",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/vision-camera-dynamsoft-label-recognizer/VisionCameraDynamsoftLabelRecognizer.podspec",
          "version": "2.1.1",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/vision-camera-dynamsoft-label-recognizer/android",
          "packageImportPath": "import com.visioncameradynamsoftlabelrecognizer.VisionCameraDynamsoftLabelRecognizerPackage;",
          "packageInstance": "new VisionCameraDynamsoftLabelRecognizerPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/vision-camera-dynamsoft-label-recognizer/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    },
    "react-native-worklets-core": {
      "root": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-worklets-core",
      "name": "react-native-worklets-core",
      "platforms": {
        "ios": {
          "podspecPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-worklets-core/react-native-worklets-core.podspec",
          "version": "1.3.3",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-worklets-core/android",
          "packageImportPath": "import com.worklets.WorkletsPackage;",
          "packageInstance": "new WorkletsPackage()",
          "buildTypes": [],
          "libraryName": "RNWorkletsSpec",
          "componentDescriptors": [],
          "cmakeListsPath": "/Users/sachin/office/react-native/demoapp/myapp/node_modules/react-native-worklets-core/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null,
          "isPureCxxDependency": false
        }
      }
    }
  },
  "healthChecks": [],
  "platforms": {
    "ios": {},
    "android": {}
  },
  "assets": [],
  "project": {
    "ios": {
      "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/ios",
      "xcodeProject": {
        "name": "demoapp.xcworkspace",
        "path": ".",
        "isWorkspace": true
      },
      "assets": []
    },
    "android": {
      "sourceDir": "/Users/sachin/office/react-native/demoapp/myapp/android",
      "appName": "app",
      "packageName": "org.demoapp.org",
      "applicationId": "org.demoapp.org",
      "mainActivity": "org.demoapp.org.MainActivity",
      "assets": []
    }
  }
}

@Nyoob
Copy link

Nyoob commented Aug 22, 2024

Same thing here - i didn't have this issue in 0.75.0-rc4 but on 0.75.1+ i suddenly do.

@blakef
Copy link
Contributor

blakef commented Aug 22, 2024

Your config looks good.

We store a cached copy in the build/generated/autolinking/autolinking.json file. Before removing that file, I'd be interested if what's in there is different from the output you sent earlier? If it is empty, is it actually empty (or does it have some kind of whitespace character, etc...

Remove that file and re-run yarn android to regenerate your autolinking.json file.

@FernandoAOborges
Copy link

It worked here by adding packageName in the React Native config:

module.exports = {
  project: {
    ios: {},
    android: {
      packageName: 'com.yourproject',
    },
  },
  assets: ['./src/components/assets/fonts/'],
};

@Oscar0819
Copy link

Try remove /ProjectName/android/build/generated/autolinking/autolinking.json file
I solved from this method

@Nyoob
Copy link

Nyoob commented Aug 23, 2024

Your config looks good.

We store a cached copy in the build/generated/autolinking/autolinking.json file. Before removing that file, I'd be interested if what's in there is different from the output you sent earlier? If it is empty, is it actually empty (or does it have some kind of whitespace character, etc...

Remove that file and re-run yarn android to regenerate your autolinking.json file.

I'm having the same issue, but there is no autolinking.json file. I've tried building in android studio & running yarn android but it does not generate after either - i'm just getting:
RNGP - Autolinking: Could not find project.android.packageName in react-native config output! Could not autolink packages without this field.

Any idea?

@blakef
Copy link
Contributor

blakef commented Aug 23, 2024

@Nyoob You can manually run that task directly:

$ cd android
$ ./gradlew generateAutolinkingPackageList

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.9/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 4s
14 actionable tasks: 3 executed, 11 up-to-date
➜  react-native git:(feat/add-logging-gradle-plugin-settings) ✗ ls -l build/generated/autolinking/
total 24
-rw-r--r-- 1 blakef 18950 Aug 23 14:01 autolinking.json
-rw-r--r-- 1 blakef    64 Aug 23 14:01 yarn.lock.sha

@cl3i550n are you now unblocked? Can I close the issue?

@cl3i550n
Copy link
Author

@Nyoob You can manually run that task directly:

$ cd android
$ ./gradlew generateAutolinkingPackageList

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.9/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 4s
14 actionable tasks: 3 executed, 11 up-to-date
➜  react-native git:(feat/add-logging-gradle-plugin-settings) ✗ ls -l build/generated/autolinking/
total 24
-rw-r--r-- 1 blakef 18950 Aug 23 14:01 autolinking.json
-rw-r--r-- 1 blakef    64 Aug 23 14:01 yarn.lock.sha

@cl3i550n are you now unblocked? Can I close the issue?

This works fine, thanks all guys!

Close the issue.

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Aug 23, 2024
@blakef blakef closed this as completed Aug 23, 2024
@sarwanand24
Copy link

@Nyoob You can manually run that task directly:

$ cd android
$ ./gradlew generateAutolinkingPackageList

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.9/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 4s
14 actionable tasks: 3 executed, 11 up-to-date
➜  react-native git:(feat/add-logging-gradle-plugin-settings) ✗ ls -l build/generated/autolinking/
total 24
-rw-r--r-- 1 blakef 18950 Aug 23 14:01 autolinking.json
-rw-r--r-- 1 blakef    64 Aug 23 14:01 yarn.lock.sha

@cl3i550n are you now unblocked? Can I close the issue?

This works fine, thanks all guys!

Close the issue.

this not working for me

@pofffff
Copy link

pofffff commented Aug 25, 2024

Had the same issue. No changes were made in the project, it seems it come from nowhere...
Solved it by removing /build/generated/autolinking/autolinking.json, the file was suddenly empty.

@blakef
Copy link
Contributor

blakef commented Aug 25, 2024

Actually I see the bug here that's not rerunning npx @react-native-community/cli config when build/autolinking/autolinking.json is empty. I'm not entirely sure how that cached json file is being written without content, but we can at least rerun the command.

@blakef blakef reopened this Aug 25, 2024
@blakef blakef removed the Needs: Attention Issues where the author has responded to feedback. label Aug 25, 2024
@blakef blakef self-assigned this Aug 25, 2024
@blakef blakef removed the Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. label Aug 25, 2024
@Nyoob
Copy link

Nyoob commented Aug 26, 2024

@Nyoob You can manually run that task directly:

$ cd android
$ ./gradlew generateAutolinkingPackageList

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.9/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 4s
14 actionable tasks: 3 executed, 11 up-to-date
➜  react-native git:(feat/add-logging-gradle-plugin-settings) ✗ ls -l build/generated/autolinking/
total 24
-rw-r--r-- 1 blakef 18950 Aug 23 14:01 autolinking.json
-rw-r--r-- 1 blakef    64 Aug 23 14:01 yarn.lock.sha

@cl3i550n are you now unblocked? Can I close the issue?

Manually running the task also fails, even after deleting android/build and cleaning project in android studio

./gradlew generateAutolinkingPackageList --stacktrace

> Configure project :app
VERSION NUMBER: 50293305
WARNING: Using flatDir should be avoided because it doesn't support any meta-data formats.

> Configure project :wear
VERSION NUMBER: 1
WARNING: Using flatDir should be avoided because it doesn't support any meta-data formats.

> Task :app:generateAutolinkingPackageList FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:generateAutolinkingPackageList'.
> RNGP - Autolinking: Could not find project.android.packageName in react-native config output! Could not autolink packages without this field.

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:generateAutolinkingPackageList'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:130)
        at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:128)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:116)
        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314)
        at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
Caused by: java.lang.IllegalStateException: RNGP - Autolinking: Could not find project.android.packageName in react-native config output! Could not autolink packages without this field.
        at com.facebook.react.tasks.GeneratePackageListTask.taskAction(GeneratePackageListTask.kt:38)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
        at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:244)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
        at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:229)
        at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:212)
        at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:195)
        at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:162)
        at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:105)
        at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44)
        at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:59)
        at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:56)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:56)
        at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44)
        at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
        at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
        at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
        at org.gradle.internal.execution.steps.PreCreateOutputParentsStep.execute(PreCreateOutputParentsStep.java:50)
        at org.gradle.internal.execution.steps.PreCreateOutputParentsStep.execute(PreCreateOutputParentsStep.java:28)
        at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:67)
        at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:37)
        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:61)
        at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:26)
        at org.gradle.internal.execution.steps.CaptureOutputsAfterExecutionStep.execute(CaptureOutputsAfterExecutionStep.java:67)
        at org.gradle.internal.execution.steps.CaptureOutputsAfterExecutionStep.execute(CaptureOutputsAfterExecutionStep.java:45)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:40)
        at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:29)
        at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:189)
        at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:75)
        at org.gradle.internal.Either$Right.fold(Either.java:175)
        at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:62)
        at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:73)
        at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:48)
        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:46)
        at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:35)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:76)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:54)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:54)
        at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:36)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
        at org.gradle.internal.execution.steps.ResolveIncrementalCachingStateStep.executeDelegate(ResolveIncrementalCachingStateStep.java:49)
        at org.gradle.internal.execution.steps.ResolveIncrementalCachingStateStep.executeDelegate(ResolveIncrementalCachingStateStep.java:27)
        at org.gradle.internal.execution.steps.AbstractResolveCachingStateStep.execute(AbstractResolveCachingStateStep.java:71)
        at org.gradle.internal.execution.steps.AbstractResolveCachingStateStep.execute(AbstractResolveCachingStateStep.java:39)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:65)
        at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:36)
        at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:106)
        at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:55)
        at org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep.execute(AbstractCaptureStateBeforeExecutionStep.java:64)
        at org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep.execute(AbstractCaptureStateBeforeExecutionStep.java:43)
        at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.executeWithNonEmptySources(AbstractSkipEmptyWorkStep.java:125)
        at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.execute(AbstractSkipEmptyWorkStep.java:56)
        at org.gradle.internal.execution.steps.AbstractSkipEmptyWorkStep.execute(AbstractSkipEmptyWorkStep.java:36)
        at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
        at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:36)
        at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:23)
        at org.gradle.internal.execution.steps.HandleStaleOutputsStep.execute(HandleStaleOutputsStep.java:75)
        at org.gradle.internal.execution.steps.HandleStaleOutputsStep.execute(HandleStaleOutputsStep.java:41)
        at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.lambda$execute$0(AssignMutableWorkspaceStep.java:35)
        at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:289)
        at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.execute(AssignMutableWorkspaceStep.java:31)
        at org.gradle.internal.execution.steps.AssignMutableWorkspaceStep.execute(AssignMutableWorkspaceStep.java:22)
        at org.gradle.internal.execution.steps.ChoosePipelineStep.execute(ChoosePipelineStep.java:40)
        at org.gradle.internal.execution.steps.ChoosePipelineStep.execute(ChoosePipelineStep.java:23)
        at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.lambda$execute$2(ExecuteWorkBuildOperationFiringStep.java:67)
        at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:67)
        at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:39)
        at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:46)
        at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:34)
        at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:48)
        at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:35)
        at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:61)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:127)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:116)
        at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
        at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
        at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314)
        at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
        at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)


Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 601ms
14 actionable tasks: 4 executed, 10 up-to-date

0.75.0-rc4 still worked fine for me a few weeks ago, after upgrading to 0.75.2 this issue started occuring.

@quoctruongkt

This comment was marked as off-topic.

@fidodido75

This comment was marked as off-topic.

@Julie0000

This comment was marked as off-topic.

@cortinico cortinico changed the title RNGP - Autolinking: Could not find project.android.packageName in react-native config output! [0.75.x] Build failing with: "RNGP - Autolinking: Could not find project.android.packageName in react-native config output!" Aug 28, 2024
@idrisssakhi
Copy link

idrisssakhi commented Aug 28, 2024

Having the same issue on android

ERROR: autolinkLibrariesFromCommand: process npx @react-native-community/cli config exited with error code: 126

FAILURE: Build failed with an exception.

* Where:
Settings file '/Users/mac/projects/geowatch/GeoWatchAppPro/android/settings.gradle' line: 3

* What went wrong:
A problem occurred evaluating settings 'android'.
> ERROR: autolinkLibrariesFromCommand: process npx @react-native-community/cli config exited with error code: 126

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

* Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating settings 'android'.
        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.lambda$apply$0(DefaultScriptPluginFactory.java:137)
        at org.gradle.configuration.DefaultScriptTarget.addConfiguration(DefaultScriptTarget.java:74)
        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:140)
        at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:68)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
        at org.gradle.configuration.BuildOperationScriptPlugin.lambda$apply$0(BuildOperationScriptPlugin.java:65)
        at org.gradle.internal.code.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:43)
        at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:65)
        at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.applySettingsScript(ScriptEvaluatingSettingsProcessor.java:75)
        at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.process(ScriptEvaluatingSettingsProcessor.java:68)
        at org.gradle.initialization.SettingsEvaluatedCallbackFiringSettingsProcessor.process(SettingsEvaluatedCallbackFiringSettingsProcessor.java:34)
        at org.gradle.initialization.RootBuildCacheControllerSettingsProcessor.process(RootBuildCacheControllerSettingsProcessor.java:47)
        at org.gradle.initialization.BuildOperationSettingsProcessor$2.call(BuildOperationSettingsProcessor.java:49)
        at org.gradle.initialization.BuildOperationSettingsProcessor$2.call(BuildOperationSettingsProcessor.java:46)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
        at org.gradle.initialization.BuildOperationSettingsProcessor.process(BuildOperationSettingsProcessor.java:46)
        at org.gradle.initialization.DefaultSettingsLoader.findSettingsAndLoadIfAppropriate(DefaultSettingsLoader.java:143)
        at org.gradle.initialization.DefaultSettingsLoader.findAndLoadSettings(DefaultSettingsLoader.java:63)
        at org.gradle.initialization.SettingsAttachingSettingsLoader.findAndLoadSettings(SettingsAttachingSettingsLoader.java:33)
        at org.gradle.internal.composite.CommandLineIncludedBuildSettingsLoader.findAndLoadSettings(CommandLineIncludedBuildSettingsLoader.java:35)
        at org.gradle.internal.composite.ChildBuildRegisteringSettingsLoader.findAndLoadSettings(ChildBuildRegisteringSettingsLoader.java:44)
        at org.gradle.internal.composite.CompositeBuildSettingsLoader.findAndLoadSettings(CompositeBuildSettingsLoader.java:35)
        at org.gradle.initialization.InitScriptHandlingSettingsLoader.findAndLoadSettings(InitScriptHandlingSettingsLoader.java:33)
        at org.gradle.api.internal.initialization.CacheConfigurationsHandlingSettingsLoader.findAndLoadSettings(CacheConfigurationsHandlingSettingsLoader.java:36)
        at org.gradle.initialization.GradlePropertiesHandlingSettingsLoader.findAndLoadSettings(GradlePropertiesHandlingSettingsLoader.java:38)
        at org.gradle.initialization.DefaultSettingsPreparer.prepareSettings(DefaultSettingsPreparer.java:31)
        at org.gradle.initialization.BuildOperationFiringSettingsPreparer$LoadBuild.doLoadBuild(BuildOperationFiringSettingsPreparer.java:71)
        at org.gradle.initialization.BuildOperationFiringSettingsPreparer$LoadBuild.run(BuildOperationFiringSettingsPreparer.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
        at org.gradle.initialization.BuildOperationFiringSettingsPreparer.prepareSettings(BuildOperationFiringSettingsPreparer.java:54)
        at org.gradle.initialization.VintageBuildModelController.lambda$prepareSettings$1(VintageBuildModelController.java:80)
        at org.gradle.internal.model.StateTransitionController.lambda$doTransition$14(StateTransitionController.java:255)
        at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:266)
        at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:254)
        at org.gradle.internal.model.StateTransitionController.lambda$transitionIfNotPreviously$11(StateTransitionController.java:213)
        at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:34)
        at org.gradle.internal.model.StateTransitionController.transitionIfNotPreviously(StateTransitionController.java:209)
        at org.gradle.initialization.VintageBuildModelController.prepareSettings(VintageBuildModelController.java:80)
        at org.gradle.initialization.VintageBuildModelController.prepareToScheduleTasks(VintageBuildModelController.java:70)
        at org.gradle.internal.build.DefaultBuildLifecycleController.lambda$prepareToScheduleTasks$6(DefaultBuildLifecycleController.java:175)
        at org.gradle.internal.model.StateTransitionController.lambda$doTransition$14(StateTransitionController.java:255)
        at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:266)
        at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:254)
        at org.gradle.internal.model.StateTransitionController.lambda$maybeTransition$9(StateTransitionController.java:190)
        at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:34)
        at org.gradle.internal.model.StateTransitionController.maybeTransition(StateTransitionController.java:186)
        at org.gradle.internal.build.DefaultBuildLifecycleController.prepareToScheduleTasks(DefaultBuildLifecycleController.java:173)
        at org.gradle.internal.buildtree.DefaultBuildTreeWorkPreparer.scheduleRequestedTasks(DefaultBuildTreeWorkPreparer.java:36)
        at org.gradle.configurationcache.VintageBuildTreeWorkController$scheduleAndRunRequestedTasks$1.apply(VintageBuildTreeWorkController.kt:36)
        at org.gradle.configurationcache.VintageBuildTreeWorkController$scheduleAndRunRequestedTasks$1.apply(VintageBuildTreeWorkController.kt:35)
        at org.gradle.composite.internal.DefaultIncludedBuildTaskGraph.withNewWorkGraph(DefaultIncludedBuildTaskGraph.java:112)
        at org.gradle.configurationcache.VintageBuildTreeWorkController.scheduleAndRunRequestedTasks(VintageBuildTreeWorkController.kt:35)
        at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.lambda$scheduleAndRunTasks$1(DefaultBuildTreeLifecycleController.java:77)
        at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.lambda$runBuild$4(DefaultBuildTreeLifecycleController.java:120)
        at org.gradle.internal.model.StateTransitionController.lambda$transition$6(StateTransitionController.java:169)
        at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:266)
        at org.gradle.internal.model.StateTransitionController.lambda$transition$7(StateTransitionController.java:169)
        at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44)
        at org.gradle.internal.model.StateTransitionController.transition(StateTransitionController.java:169)
        at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.runBuild(DefaultBuildTreeLifecycleController.java:117)
        at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.scheduleAndRunTasks(DefaultBuildTreeLifecycleController.java:77)
        at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.scheduleAndRunTasks(DefaultBuildTreeLifecycleController.java:72)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:31)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.internal.buildtree.ProblemReportingBuildActionRunner.run(ProblemReportingBuildActionRunner.java:49)
        at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:65)
        at org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatchingBuildActionRunner.java:140)
        at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:41)
        at org.gradle.launcher.exec.RootBuildLifecycleBuildActionExecutor.lambda$execute$0(RootBuildLifecycleBuildActionExecutor.java:40)
        at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:123)
        at org.gradle.launcher.exec.RootBuildLifecycleBuildActionExecutor.execute(RootBuildLifecycleBuildActionExecutor.java:40)
        at org.gradle.internal.buildtree.InitDeprecationLoggingActionExecutor.execute(InitDeprecationLoggingActionExecutor.java:66)
        at org.gradle.internal.buildtree.InitProblems.execute(InitProblems.java:36)
        at org.gradle.internal.buildtree.DefaultBuildTreeContext.execute(DefaultBuildTreeContext.java:40)
        at org.gradle.launcher.exec.BuildTreeLifecycleBuildActionExecutor.lambda$execute$0(BuildTreeLifecycleBuildActionExecutor.java:71)
        at org.gradle.internal.buildtree.BuildTreeState.run(BuildTreeState.java:60)
        at org.gradle.launcher.exec.BuildTreeLifecycleBuildActionExecutor.execute(BuildTreeLifecycleBuildActionExecutor.java:71)
        at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor$3.call(RunAsBuildOperationBuildActionExecutor.java:61)
        at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor$3.call(RunAsBuildOperationBuildActionExecutor.java:57)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:209)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
        at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:166)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
        at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
        at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor.execute(RunAsBuildOperationBuildActionExecutor.java:57)
        at org.gradle.launcher.exec.RunAsWorkerThreadBuildActionExecutor.lambda$execute$0(RunAsWorkerThreadBuildActionExecutor.java:36)
        at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:264)
        at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:128)
        at org.gradle.launcher.exec.RunAsWorkerThreadBuildActionExecutor.execute(RunAsWorkerThreadBuildActionExecutor.java:36)
        at org.gradle.tooling.internal.provider.continuous.ContinuousBuildActionExecutor.execute(ContinuousBuildActionExecutor.java:110)
        at org.gradle.tooling.internal.provider.SubscribableBuildActionExecutor.execute(SubscribableBuildActionExecutor.java:64)
        at org.gradle.internal.session.DefaultBuildSessionContext.execute(DefaultBuildSessionContext.java:46)
        at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter$ActionImpl.apply(BuildSessionLifecycleBuildActionExecuter.java:92)
        at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter$ActionImpl.apply(BuildSessionLifecycleBuildActionExecuter.java:80)
        at org.gradle.internal.session.BuildSessionState.run(BuildSessionState.java:71)
        at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter.execute(BuildSessionLifecycleBuildActionExecuter.java:62)
        at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter.execute(BuildSessionLifecycleBuildActionExecuter.java:41)
        at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:64)
        at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:32)
        at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:51)
        at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:39)
        at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:47)
        at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:31)
        at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:65)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.lambda$execute$0(ForwardClientInput.java:39)
        at org.gradle.launcher.daemon.server.clientinput.ClientInputForwarder.forwardInput(ClientInputForwarder.java:88)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:36)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:64)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:84)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
Caused by: org.gradle.api.GradleException: ERROR: autolinkLibrariesFromCommand: process npx @react-native-community/cli config exited with error code: 126
        at com.facebook.react.ReactSettingsExtension.autolinkLibrariesFromCommand(ReactSettingsExtension.kt:77)
        at com.facebook.react.ReactSettingsExtension.autolinkLibrariesFromCommand$default(ReactSettingsExtension.kt:47)
        at com.facebook.react.ReactSettingsExtension.autolinkLibrariesFromCommand(ReactSettingsExtension.kt)
        at com.facebook.react.ReactSettingsExtension$autolinkLibrariesFromCommand.call(Unknown Source)
        at settings_dqfokpji65j7qqwcz9giwda19$_run_closure1.doCall$original(/Users/mac/projects/geowatch/GeoWatchAppPro/android/settings.gradle:3)
        at settings_dqfokpji65j7qqwcz9giwda19$_run_closure1.doCall(/Users/mac/projects/geowatch/GeoWatchAppPro/android/settings.gradle)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at jdk.proxy1/jdk.proxy1.$Proxy120.execute(Unknown Source)
        at org.gradle.internal.extensibility.ExtensionsStorage$ExtensionHolder.configure(ExtensionsStorage.java:177)
        at org.gradle.internal.extensibility.ExtensionsStorage.configureExtension(ExtensionsStorage.java:70)
        at org.gradle.internal.extensibility.DefaultConvention.configure(DefaultConvention.java:202)
        at org.gradle.internal.extensibility.DefaultConvention.configure(DefaultConvention.java:197)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at settings_dqfokpji65j7qqwcz9giwda19.run(/Users/mac/projects/geowatch/GeoWatchAppPro/android/settings.gradle:3)
        at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
        ... 148 more


BUILD FAILED in 1s
8 actionable tasks: 2 executed, 6 up-to-date`

@MosefAsad
Copy link

@idrisssakhi I'm having the same exact issue. Unfortunately, I'm stuck. If anyone has some ideas to help fix this it would be appreciated!

@cipolleschi
Copy link
Contributor

@MosefAsad and everyone else which is blocked by the issue.
To unblock you, you can patch your React Native Gradle Plugin by applying this PR locally: #46241.

If you do, please report back whether it works for you or not.

It is not landed yet, but as soon as it will, we will try to pick it in 0.75 and we will release a new version of React Native with the fix.

@blakef
Copy link
Contributor

blakef commented Aug 29, 2024

I've tagged the fix to go into 0.75.3. I'm going to close this, please reopen if you're still having problems after upgrading when it's released early next week.

@blakef blakef closed this as completed Aug 29, 2024
@MichelleSambiase
Copy link

MichelleSambiase commented Aug 30, 2024

Hello, I finally could build android app, in package.json I changed the version of react native to s

"react-native": "^0.75.2", I ran yarn android and it finally worked!

@nescroft
Copy link

nescroft commented Aug 30, 2024

It worked here by adding packageName in the React Native config:

module.exports = {
  project: {
    ios: {},
    android: {
      packageName: 'com.yourproject',
    },
  },
  assets: ['./src/components/assets/fonts/'],
};

this worked! thank you! i did these steps:

  1. create brand new react native project 0.75.2
  2. Added a react-native.config.js file in the root directory
  3. Added this to the react-native.config.js file (just make sure to use your project name for packageName)
module.exports = {
  project: {
    ios: {},
    android: {
      packageName: 'com.awesomeproject',
    },
  },
};

@LuridChang
Copy link

It worked here by adding packageName in the React Native config:

module.exports = {
  project: {
    ios: {},
    android: {
      packageName: 'com.yourproject',
    },
  },
  assets: ['./src/components/assets/fonts/'],
};

This worked! Thank you!

@vermotr
Copy link

vermotr commented Sep 2, 2024

Hello, I tried to add a react-native.config.js file and manually patch my React Native Gradle Plugin, but I'm still stuck on this error (I tried with a new project created with npx @react-native-community/cli@latest init MyProject)

@stefandbd

This comment has been minimized.

@blakef
Copy link
Contributor

blakef commented Sep 5, 2024

The fix is shipping in 0.75.3.

@hizbullaharif

This comment has been minimized.

@qsales2022

This comment has been minimized.

@facebook facebook locked and limited conversation to collaborators Sep 8, 2024
@blakef
Copy link
Contributor

blakef commented Sep 8, 2024

I'm locking this as 0.75.3 will release with the fix

If people still have issues when using 0.75.3, then create a new issue.

If you open a similar issue for 0.75.2 we will close it.

cortinico added a commit to cortinico/react-native that referenced this issue Sep 13, 2024
Summary:
Fixes facebook#46443
Fixes facebook#46134

I'm sanitizing the output of the `config` command + I've added some more logging in case of failure.

Changelog:
[Android] [Fixed] - RNGP - Sanitize the output of the config command

Differential Revision: D62641979
cortinico added a commit to cortinico/react-native that referenced this issue Sep 13, 2024
Summary:
Pull Request resolved: facebook#46482

Fixes facebook#46443
Fixes facebook#46134

I'm sanitizing the output of the `config` command + I've added some more logging in case of failure.

Changelog:
[Android] [Fixed] - RNGP - Sanitize the output of the config command

Reviewed By: cipolleschi

Differential Revision: D62641979
facebook-github-bot pushed a commit that referenced this issue Sep 13, 2024
Summary:
Pull Request resolved: #46482

Fixes #46443
Fixes #46134

I'm sanitizing the output of the `config` command + I've added some more logging in case of failure.

Changelog:
[Android] [Fixed] - RNGP - Sanitize the output of the config command

Reviewed By: cipolleschi

Differential Revision: D62641979

fbshipit-source-id: c13d27a42beeb7a973c1802e7204631d49d3d09b
cipolleschi pushed a commit that referenced this issue Sep 16, 2024
Summary:
Pull Request resolved: #46482

Fixes #46443
Fixes #46134

I'm sanitizing the output of the `config` command + I've added some more logging in case of failure.

Changelog:
[Android] [Fixed] - RNGP - Sanitize the output of the config command

Reviewed By: cipolleschi

Differential Revision: D62641979

fbshipit-source-id: c13d27a42beeb7a973c1802e7204631d49d3d09b
blakef pushed a commit that referenced this issue Sep 30, 2024
Summary:
Pull Request resolved: #46482

Fixes #46443
Fixes #46134

I'm sanitizing the output of the `config` command + I've added some more logging in case of failure.

Changelog:
[Android] [Fixed] - RNGP - Sanitize the output of the config command

Reviewed By: cipolleschi

Differential Revision: D62641979

fbshipit-source-id: c13d27a42beeb7a973c1802e7204631d49d3d09b
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.