-
-
Notifications
You must be signed in to change notification settings - Fork 514
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
Android Build Error - Execution failed for task ':react-native-screens:configureCMakeRelWithDebInfo' #2082
Comments
I downgrade version [3.29.0], it work |
I also downgraded for now 👍 |
Hi @FraserKemp, thanks for submitting this issue! Let me investigate it 🔎 |
I am also having same issue - |
instead of "^3.15.0" set "3.29.0" (without ^) |
@kumarGautamAramark This seems to be issue with React Native, rather than error from Screens. I found that there were some issues with prefab already in 0.70 - facebook/react-native#34871 |
@wieckowskimateusz yeah, setting "3.29.0" did resolve the issue. Thank you. |
I can confirm this exists on my side 👍 We'll try find a solution for that. Thanks! |
Confirming downgrading to "3.29.0" instead of "^3.29.0" did resolve the issue. |
Yep 3.29 works for me. Adding it to my lock file. |
Hi @tboba I am also getting this issue here's the detail of my project. "react-native": "0.69.12" And I had a patch previously for version Please provide a solution for this. |
This fixed my issue, Thanks @wieckowskimateusz for saving my day! |
Hi everyone, thanks for confirming that on your scenario this error also happens! I can observe, that the case with |
|
## Description This PR fixes backward compatibility with React Native versions older than 0.71. The issue was caused by using prefabs in the screen transition animation feature. I added a check that makes this feature available since React Native 0.71 Tested against RN versions: - [x] 0.68 - [x] 0.69 - [x] 0.70 - [x] 0.71 - [x] 0.73 Fixes #2082 --------- Co-authored-by: tboba <tymoteusz.boba@gmail.com>
Hi all! This fix has been included in the newest release of React Native Screens: 3.31.0-rc.0! 🎉 Release notes: https://github.com/software-mansion/react-native-screens/releases/tag/3.31.0-rc.0 cc @FraserKemp @hau1412 @kumarGautamAramark @wieckowskimateusz @ardneved @frankfuu @usamaabutt @pradeep-tomer |
@tboba Awesome thanks for the speedy fix, I will test this is working again next week and let you know if I have issues!! |
Using version 3.29.0 works for me. RN 0.68.2 |
This issue persists for me in v3.31.1 (react-native v0.71.x) |
Same here with 3.31.1. Downgrade to 3.29.0 seems to work for now. |
Thank you. It works for me. |
Hi, all! I see that some of you are still struggling with this issue. Have you tried updating the version of react-native-screens to 3.32.0? This issue should not happen there, but please note that from 3.32.0 version, only React Native versions higher or equal to 0.71 (for old architecture) are supported. |
@tboba: error still exists
|
@driiftkiing Are you using old architecture, or the new one? Please keep in mind that according to the table of supported versions of react-native, for react-native-screens 3.33.0+ you should use React Native 0.75 or higher. |
@tboba: Having the old architecture. It only works with react-native 0.74.5 and react-native-screens: 3.29.0. I have tried until 3.34.0 but did it not get work. Since I don't use Fabric, i used the upper table from the readme. Anyway I have upgraded rn to 0.75.2 and rns to 3.34.0 and got it also to work again. |
…n#2088) ## Description This PR fixes backward compatibility with React Native versions older than 0.71. The issue was caused by using prefabs in the screen transition animation feature. I added a check that makes this feature available since React Native 0.71 Tested against RN versions: - [x] 0.68 - [x] 0.69 - [x] 0.70 - [x] 0.71 - [x] 0.73 Fixes software-mansion#2082 --------- Co-authored-by: tboba <tymoteusz.boba@gmail.com>
Description
When assembling a dev release build on android I get a build error.
Error shown is :
Execution failed for task ':react-native-screens:configureCMakeRelWithDebInfo'.
Usage: prefab [OPTIONS] [PACKAGE_PATH]...
Error: Missing argument "PACKAGE_PATH".
Steps to reproduce
ERROR : > Task :react-native-screens:configureCMakeRelWithDebInfo FAILED
C/C++: prefabUsage: prefab [OPTIONS] [PACKAGE_PATH]...
C/C++: prefabError: Missing argument "PACKAGE_PATH".
Snack or a link to a repository
https://github.com/FraserKemp/test-react-native-screens
Screens version
3.30.1
React Native version
0.68.7
Platforms
Android
JavaScript runtime
JSC
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
Release mode
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: