Need to update kotlin-gradle-plugin to 1.6.20 as kotlin-android-extensions needs gradle plugin version >= 1.6.20
Closed this issue · 1 comments
nateshmbhat commented
We are using react native 0.71.1 and this uses
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installProdDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
- What went wrong:
The Android Gradle plugin supports only kotlin-android-extensions Gradle plugin version 1.6.20 and higher.
The following dependencies do not satisfy the required version:
project ':react-native-image-colors' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0
osamaqarem commented
Please try declaring the required kotlin version in your project as in this comment, and let me know if the issue persists.