You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been tracking down a build failure that only happens when on the New Architecture (i.e. RN 0.77.1). After much investigation I've concluded that the issues happens when
> Task :app:configureCMakeRelWithDebInfo[arm64-v8a] FAILED
C/C++: CMake Error at /Users/tibbe/work/RNFBRepro/android/app/build/generated/autolinking/src/main/jni/Android-autolinking.cmake:11 (add_subdirectory):
C/C++: add_subdirectory given source
C/C++: "/Users/tibbe/work/RNFBRepro/node_modules/react-native-contacts/android/build/generated/source/codegen/jni/"
C/C++: which is not an existing directory.
C/C++: Call Stack (most recent call first):
C/C++: /Users/tibbe/work/RNFBRepro/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:100 (include)
C/C++: CMakeLists.txt:31 (include)
C/C++: CMake Error at /Users/tibbe/work/RNFBRepro/node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake:103 (target_link_libraries):
C/C++: Cannot specify link libraries for target "react_codegen_RNContactsSpec"
C/C++: which is not built by this project.
C/C++: Call Stack (most recent call first):
C/C++: CMakeLists.txt:31 (include)
I'm guessing react-native-contacts is doing something wrong when it comes to the New Architecture, possibly related to codegen. If you check out https://github.com/benetics-ag/RNFBRepro, add [email protected], and run npx react-native build-android --mode=release --verbose you can see the failure. If you again remove [email protected] (and clean up e.g. node_modules/ and everything else) it builds again.
The text was updated successfully, but these errors were encountered:
I've been tracking down a build failure that only happens when on the New Architecture (i.e. RN 0.77.1). After much investigation I've concluded that the issues happens when
nativeSymbolUploadEnabled
enabled, as per https://rnfirebase.io/crashlytics/android-setup.The full error is at invertase/react-native-firebase#8393 (comment) but the short of it is:
I'm guessing
react-native-contacts
is doing something wrong when it comes to the New Architecture, possibly related to codegen. If you check out https://github.com/benetics-ag/RNFBRepro, add[email protected]
, and runnpx react-native build-android --mode=release --verbose
you can see the failure. If you again remove[email protected]
(and clean up e.g. node_modules/ and everything else) it builds again.The text was updated successfully, but these errors were encountered: