Skip to content

Getting "Execution failed for task ':app:invokeLibraryCodegen'" when running yarn android inside Fabric View Library #699

Closed
@hamdoudhakem

Description

@hamdoudhakem

Description

I started a new Blank Library using the Fabric View template, after I ran yarn install in the project root and inside the example folder without changing or doing anything else I ran yarn android and I keep getting this error:
Image

I also tried the Fabric View with backward compatibility template and I got the same error.
I also followed these docs to check if anything was wrong with the template and I didn't find anything: https://github.com/reactwg/react-native-new-architecture/blob/main/docs/fabric-native-components.md

Packages

  • create-react-native-library
  • react-native-builder-bob

Selected options

Fabric View

Link to repro

https://github.com/hamdoudhakem/react-native-chat-llm

Environment

  • System:
    • OS: Windows 11 10.0.22631
    • CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
    • Memory: 1.73 GB / 15.78 GB
  • Binaries:
    • Node:
      • version: 20.18.0
      • path: C:\Program Files\nodejs\node.EXE
    • Yarn:
      • version: 3.6.1
      • path: ~\AppData\Roaming\npm\yarn.CMD
    • npm:
      • version: 10.9.0
      • path: C:\Program Files\nodejs\npm.CMD
    • Watchman: Not Found
  • SDKs:
    • Android SDK: Not Found
    • Windows SDK: Not Found
  • IDEs:
    • Android Studio: AI-242.21829.142.2421.12409432
    • Visual Studio:
    • 17.11.35327.3 (Visual Studio Community 2022)
  • Languages:
    • Java: 17.0.13
    • Ruby: Not Found
  • npmPackages:
    • "@react-native-community/cli":
      • installed: 15.0.1
      • wanted: 15.0.1
    • react:
      • installed: 18.3.1
      • wanted: 18.3.1
    • react-native:
      • installed: 0.76.3
      • wanted: 0.76.3
    • react-native-windows: Not Found
  • npmGlobalPackages:
    • "react-native": Not Found
  • Android:
    • hermesEnabled: true
    • newArchEnabled: true
  • iOS:
    • hermesEnabled: Not found
    • newArchEnabled: Not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions