Android build fails on Linux with latest RePack #857
Labels
status:confirmed
The issue has been reviewed and all necessary information is provided.
type:bug
A bug report.
Describe the bug
Hello,
I am attempting to run a clean install, but am getting this error:
FAILURE: Build failed with an exception.
Execution failed for task ':callstack_repack:configureCMakeDebug[arm64-v8a]'.
...
CMake Error at CMakeLists.txt:10 (add_library):
Target "callstack-repack" links to target "ReactAndroid::reactnativejni"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?
System Info
Re.Pack Version
4.3.3
Reproduction
https://github.com/baychev/react-native-whitelabel
Steps to reproduce
Not working:
npx @react-native-community/cli init mobile --skip-install
cd mobile
npx @callstack/repack-init
npm run android
Working:
npx @react-native-community/cli init mobile
cd mobile
npm run android
The text was updated successfully, but these errors were encountered: