-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build android app. #5175
Comments
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem? |
Hello! I have the same error, Is there any update? |
Update! I made a downgrade in |
Hey @ravikiranavasarala, thanks for submitting this issue. Which version of |
Is there any update on this issue? I'm using |
@tomekzaw @thongquach @DanielAraldi @ravikiranavasarala
Add the installation prefix of "fbjni" to CMAKE_PREFIX_PATH or set |
Is there any update on this one @tomekzaw? I'm using |
try |
I do not use react-native-vision-camera but still having the same issue |
yes you are right |
I was facing this isssue but i have deleted the android folder and created it again and then the dependencies were installed correctly i guess it has something to do wiht the latest version of react native with the android project of react native by using the command mentioned and turns out that the things are working fine till now: |
Hmmm, I think I'm hitting this, too. Versions:
I've confirmed that I can build for Android if I downgrade to 3.4.2, however, doing so causes
Same result when I downgrade to |
@chiubaka for me it seemed that it was only due to the dependencies not being downloaded correctly at my end due to upgrading project from older react version to new version. |
This worked for me, but if you're using react-native-vision-camera 2x, you're not being able to use frame-processors, but it's working. |
Can anyone confirm if it problem is still exists in the newest Reanimated version? 🙏 |
Description
Hi,After installing the vision camera & vision camera OCR with the dependency package react-native reanimated, React-native reanimated throws a compile time error.
CMake Error at CMakeLists.txt:208 (find_package):
Could not find a package configuration file provided by
"react-native-reanimated" with any of the following names:
react-native-reanimatedConfig.cmake
react-native-reanimated-config.cmake
Add the installation prefix of "react-native-reanimated" to
CMAKE_PREFIX_PATH or set "react-native-reanimated_DIR" to a directory
containing one of the above files. If "react-native-reanimated" provides a
separate development package or SDK, be sure it has been installed.
Steps to reproduce
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
[
'react-native-reanimated/plugin',
{
globals: ['__scanOCR'],
},
],
]
};
Snack or a link to a repository
none
Reanimated version
3.5.4
React Native version
0.70.6
Platforms
Android
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
Debug mode
Device
Real device
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: