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
react_codegen_rnasyncstorage #1052
Comments
Issue still occurring on Windows, and MacOS at version |
Update: after investigating and noticing that the codegen doesn't work for some libraries, I manually ran |
What version of React Native are you using? What configuration? New Architecture? Please include a minimal repro otherwise we cannot investigate. |
@tido64 The latest version |
It should be in here somewhere or thereabouts: https://github.com/facebook/react-native/blob/v0.73.4/packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/ReactPlugin.kt |
This issue has been marked as stale due to inactivity. Please respond or otherwise resolve the issue within 7 days or it will be closed. |
Any idea how I could fix this while using expo? The command proposed by @karimb11 ran correctly, but when I run FYI I tried running a boilerplate project using https://github.com/infinitered/ignite which prompts to whether you'd like to use the new architecture and the project doesn't run. Googled for the issue and there is only 1 entry in google, which is this page. Project runs fine without enabling the new architecture. Running on an M2 if it matters. Thanks @tido64! |
Able to confirm I ran into the exact same issues on Android only using new Arch and 0.74. The above script Info below:
|
Everyone, I've tried to reproduce this locally without any luck. On both 0.73 and 0.74, new arch enabled, I was able to build with AsyncStorage just fine. Unless you can create a minimal repro for us, we cannot investigate this issue. Regardless, this suggests to me that it is not an AsyncStorage bug, but an issue somewhere between your setup and the CLI that was used for autolinking. I would suggest that you open issues (or asking questions) in either the |
@tido64 I couldn't reproduce this following the exact same steps as created it in the first place for myself, be it from scratch or reverting to the commit prior to 0.74 and doing it all over again. I agree it's likely not an bug with this repo, but something that occurs in the upgrade process or somewhere else in the development pipeline. Should anyone else run into it, it seems most of us solved it by simply clearing Gradle and |
Run into the same issue @alexanderblackh I did a grade clean but it did not help. how do you run
|
@philipheinser run |
What happened?
Cannot specify link libraries for target "react_codegen_rnasyncstorage"
which is not built by this project.
Call Stack (most recent call first):
CMakeLists.txt:31 (include)
Version
1.21.0
What platforms are you seeing this issue on?
System Information
Steps to Reproduce
The text was updated successfully, but these errors were encountered: