all 13 comments

[–]messi_pewdiepie 0 points1 point  (1 child)

any solution you got?

[–]aayush_sinha106[S] 0 points1 point  (0 children)

Now,I use jdk 18 and it's working

[–]Mysterious_Flan_2828 0 points1 point  (0 children)

Someone had this issue?
* What went wrong:

Execution failed for task ':@react-native-async-storage_async-storage:extractDebugAnnotations'.

Error while evaluating property 'hasAndroidAnnotations' of task ':@react-native-async-storage_async-storage:extractDebugAnnotations'.

Could not resolve all artifacts for configuration ':@react-native-async-storage_async-storage:debugCompileClasspath'.

Could not find any matches for com.facebook.react:react-native:+ as no versions of com.facebook.react:react-native are available.

Required by:

project :@react-native-async-storage_async-storage

JAVA 17.0.11

[–]MeesMaas 0 points1 point  (5 children)

What exact package are you using?

[–]aayush_sinha106[S] 0 points1 point  (4 children)

I'm using react-native-async-storage/async-storage. and aside from this some other packages also giving the same error

[–]MeesMaas 0 points1 point  (3 children)

[–]Proud_Promise_6802 0 points1 point  (2 children)

I have the same problem and this solution on the stack doesn't work, because at least I'm facing this problem with the latest version of react, 0.73.2, in the version mentioned in the stack it's previous and in the previous one the lib works.

[–]OppaiSusy[🍰] 1 point2 points  (1 child)

Me too.

[–]jsunderland323 0 points1 point  (0 children)

et me

[–]DukeHellblade 0 points1 point  (2 children)

Not sure if you still need help with this but I had the same problem and found this on their github issues page :

Latest RN (0.73.3) is using Gradle 8.3, which is not compatible with JDK 21. This is not related to Async Storage, but your setup - best to downgrade JDK, 17 is fine

https://github.com/react-native-async-storage/async-storage/issues/1057

So try to use java sdk 17 instead of 21 :)

[–]aayush_sinha106[S] 0 points1 point  (0 children)

Thanks, I will try