You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to make the androidx.core a variable that can be set similar to how it works in react-native-netinfo repo? If you follow the thread, the issue is very similar.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> The minCompileSdk (31) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-30).
Dependency: androidx.core:core:1.7.0-alpha02.
We specifically run into this problem while trying to build for SDKVersion 30, which seems incompatiable with the latest androidx.core.
The text was updated successfully, but these errors were encountered:
Our project is hitting the same issue. (We're on sdk version 28.) As a temporary fix, we've done two things:
Updated line 38 of node_modules/react-native-screen-brightness/android/build.gradle from androidx.core:core:1.+ to androidx.core:$androidXCore:
Added androidXCore = "1.6.0" to our app's android/build.gradle file under buildscript.ext:
It looks like this combination stops react-native-screen-brightness from using the newly-released androidx.core version 1.7.0-alpha02 and forces it back to 1.6.0 instead, which fixes the build for our app.
Hello!
Would it be possible to make the androidx.core a variable that can be set similar to how it works in react-native-netinfo repo? If you follow the thread, the issue is very similar.
react-native-netinfo/react-native-netinfo#491 (comment)
We specifically run into this problem while trying to build for SDKVersion 30, which seems incompatiable with the latest androidx.core.
The text was updated successfully, but these errors were encountered: