Skip to content
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-native-async-storage_async-storage:generateCodegenSchemaFromJavaScript FAILED #1171

Open
1 of 5 tasks
TonyFTannous-Byd opened this issue Dec 31, 2024 · 9 comments
Open
1 of 5 tasks
Labels
bug Something isn't working Stale

Comments

@TonyFTannous-Byd
Copy link

TonyFTannous-Byd commented Dec 31, 2024

What happened?

I upgrade my react native app from 0.75.4 to 0.76.5, and i have this error in android platform only, ios work fine
in android platform the async storage not working in 0.76.5 Although in 0.75.4 it work normaly
my gradle version is 8.10.2 and AGP version is 8.7.3

> Task :react-native-async-storage_async-storage:generateCodegenSchemaFromJavaScript FAILED

Version

2.1.0

What platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows
  • web

System Information

> Task :react-native-async-storage_async-storage:generateCodegenSchemaFromJavaScript FAILED

Steps to Reproduce

upgrade the react version to the latest

@TonyFTannous-Byd TonyFTannous-Byd added the bug Something isn't working label Dec 31, 2024
@aiengrimran
Copy link

Hi, update to the latest react-native version. I know this is very frustrating

@jeemercado
Copy link

Any updates?

@A7medSa3ed
Copy link

any update ?

@christian-hess-94
Copy link

@aiengrimran when you say to update ot the latest react-native version you mean 0.77.0? Skip 0.76.x completely?

@quvonchbekyunusov
Copy link

any update ?
Please help me

@piccialessandro
Copy link

Problem was I had set jdk 21. Downgraded to jdk 17 as recommended by react native documentation and now it works.

@quvonchbekyunusov
Copy link

Problem was I had set jdk 21. Downgraded to jdk 17 as recommended by react native documentation and now it works.

my jdk version is 17
openjdk version "17.0.14" 2025-01-21 LTS
OpenJDK Runtime Environment Zulu17.56+15-CA (build 17.0.14+7-LTS)
OpenJDK 64-Bit Server VM Zulu17.56+15-CA (build 17.0.14+7-LTS, mixed mode, sharing)

@piccialessandro
Copy link

Problem was I had set jdk 21. Downgraded to jdk 17 as recommended by react native documentation and now it works.

my jdk version is 17 openjdk version "17.0.14" 2025-01-21 LTS OpenJDK Runtime Environment Zulu17.56+15-CA (build 17.0.14+7-LTS) OpenJDK 64-Bit Server VM Zulu17.56+15-CA (build 17.0.14+7-LTS, mixed mode, sharing)

Image

I've just downloaded this version of JDK directly through android studio and it managed to build successfully.
Running react-native-async-storage/async-storage: "^1.24.0" and react-native: "0.76.6"

Copy link

github-actions bot commented Apr 9, 2025

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.

@github-actions github-actions bot added the Stale label Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

7 participants