Cannot build android due to Gradle version conflict.

Please provide the following:

  1. SDK Version: 48.0.15
  2. Platforms(Android/iOS/web/all): Android

Hi. I’m having an error related to Gradle version.

I ran npm run android and the build fails with the following message.

> Configure project :react-native-reanimated
No AAR for react-native-reanimated found. Attempting to build from source.
Android gradle plugin: 7.4.1
Gradle: 7.5.1
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `` file or use the new publishing DSL.

FAILURE: Build failed with an exception.

* What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
root project '(app name)' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.10

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

How can I solve this issue?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.