Closed bilalyaqoob closed 1 year ago
You'll need to use Higher version of React Native (0.63 is super old), as I believe it still uses Android Gradle plugin v6
@krizzu New version of react native isn't a solution, it generates more bugs with other packages
In that case, I'd try upgrading AGP to 7±
Another option is to keep the older version of AsyncStorage.
@bilalyaqoob If your version in package.json says ^1.15.5
it means you're gonna install latest release (1.19.1) if you don't have lock files (yarn.lock) checked in your repo. That's the only explanation that comes to my mind
Hey I'm still facing that error on my project React Native Version : "0.63.4" react-native-async-storage_async-storage version : "^1.15.2"
I also try to upgrade the "@react-native-async-storage/async-storage" dependency but it didnt work
Anyone who solved that issue ??
any solution for this?
Still this issue came, RN 0.63,
`FAILURE: Build completed with 2 failures.
Where: Build file '/Users/sss/Documents/Freel12/sdfa/node_modules/@react-native-async-storage/async-storage/android/build.gradle' line: 40
What went wrong: A problem occurred evaluating project ':react-native-async-storage_async-storage'.
Could not get unknown property 'com' for extension 'android' of type com.android.build.gradle.LibraryExtension.
What went wrong: A problem occurred configuring project ':react-native-async-storage_async-storage'.
compileSdkVersion is not specified.
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 3s`
What happened?
I am working on a project and suddenly one of the camera features of the app stopped working I thought of re creating the build and when I did I get this error.
Version
^1.15.5
What platforms are you seeing this issue on?
System Information
Steps to Reproduce
I tried to make a build and get this error