Skip to content

Support for Expo 52 and React Native 0.76 with New Architecture #212

@dlee

Description

@dlee

Currently, react-native-v8 fails to compile with Expo 52 and React Native 0.76 with errors like this:

> Task :react-native-v8:configureCMakeRelWithDebInfo[arm64-v8a] FAILED
C/C++: CMake Error at CMakeLists.txt:42 (add_library):
C/C++:   Target "v8executor" links to target "ReactAndroid::folly_runtime" but the
C/C++:   target was not found.  Perhaps a find_package() call is missing for an
C/C++:   IMPORTED target, or an ALIAS target is missing?
C/C++: CMake Error at CMakeLists.txt:42 (add_library):
C/C++:   Target "v8executor" links to target "ReactAndroid::glog" but the target was
C/C++:   not found.  Perhaps a find_package() call is missing for an IMPORTED
C/C++:   target, or an ALIAS target is missing?
C/C++: CMake Error at CMakeLists.txt:42 (add_library):
C/C++:   Target "v8executor" links to target "ReactAndroid::jsinspector" but the
C/C++:   target was not found.  Perhaps a find_package() call is missing for an
C/C++:   IMPORTED target, or an ALIAS target is missing?
C/C++: CMake Error at CMakeLists.txt:42 (add_library):
C/C++:   Target "v8executor" links to target "ReactAndroid::reactnativejni" but the
C/C++:   target was not found.  Perhaps a find_package() call is missing for an
C/C++:   IMPORTED target, or an ALIAS target is missing?
C/C++: CMake Error at CMakeLists.txt:42 (add_library):
C/C++:   Target "v8executor" links to target "ReactAndroid::runtimeexecutor" but the
C/C++:   target was not found.  Perhaps a find_package() call is missing for an
C/C++:   IMPORTED target, or an ALIAS target is missing?
C/C++: CMake Error at CMakeLists.txt:42 (add_library):
C/C++:   Target "v8executor" links to target "ReactAndroid::folly_runtime" but the
C/C++:   target was not found.  Perhaps a find_package() call is missing for an
C/C++:   IMPORTED target, or an ALIAS target is missing?
C/C++: CMake Error at CMakeLists.txt:42 (add_library):
C/C++:   Target "v8executor" links to target "ReactAndroid::glog" but the target was
C/C++:   not found.  Perhaps a find_package() call is missing for an IMPORTED
C/C++:   target, or an ALIAS target is missing?
C/C++: CMake Error at CMakeLists.txt:42 (add_library):
C/C++:   Target "v8executor" links to target "ReactAndroid::reactnativejni" but the
C/C++:   target was not found.  Perhaps a find_package() call is missing for an
C/C++:   IMPORTED target, or an ALIAS target is missing?
C/C++: CMake Error at CMakeLists.txt:84 (add_library):
C/C++:   Target "reactnative_internal_static" links to target
C/C++:   "ReactAndroid::folly_runtime" but the target was not found.  Perhaps a
C/C++:   find_package() call is missing for an IMPORTED target, or an ALIAS target
C/C++:   is missing?
C/C++: CMake Error at CMakeLists.txt:84 (add_library):
C/C++:   Target "reactnative_internal_static" links to target "ReactAndroid::glog"
C/C++:   but the target was not found.  Perhaps a find_package() call is missing for
C/C++:   an IMPORTED target, or an ALIAS target is missing?
C/C++: CMake Error at CMakeLists.txt:84 (add_library):
C/C++:   Target "reactnative_internal_static" links to target
C/C++:   "ReactAndroid::reactnativejni" but the target was not found.  Perhaps a
C/C++:   find_package() call is missing for an IMPORTED target, or an ALIAS target
C/C++:   is missing?
C/C++: CMake Generate step failed.  Build files cannot be regenerated correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions