Skip to content

Not able to build Android Project, hitting Task :app:configureCMakeDebug[arm64-v8a] #843

@ghost

Description

Task :app:configureCMakeDebug[arm64-v8a] FAILED
C/C++: CMake Error at /project/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:97 (target_link_libraries):
C/C++: Cannot specify link libraries for target "react_codegen_RNCConfigModule"
C/C++: which is not built by this project.
C/C++: Call Stack (most recent call first):
C/C++: CMakeLists.txt:31 (include)

React Native version: 0.81.0
React Native Config version: ^1.5.7

Step to Reproduce:
#1 npx @react-native-community/cli init myApp
#2 yarn add react-native-config
#3 Additional configure on react-native-config
#4 cd android && ./gradlew build
#5 Build failed due to CMakelist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions