Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation issues in android #1822

Open
abdulragib opened this issue Aug 17, 2024 · 2 comments
Open

Compilation issues in android #1822

abdulragib opened this issue Aug 17, 2024 · 2 comments

Comments

@abdulragib
Copy link

BUILD FAILED in 11s
error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 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:
project ':nozbe_watermelondb' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50 * 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.
Get more help at https://help.gradle.org. BUILD FAILED in 11s.

@chrismartinez321
Copy link

Open android studio
Search for this ReactNativeWatermelonDB_kotlinVersion
It should show ReactNativeWatermelonDB_kotlinVersion=1.3.50
Change it so that it says ReactNativeWatermelonDB_kotlinVersion=1.5.20
Sync your gradle files and rerun

@KrisLau
Copy link
Contributor

KrisLau commented Sep 9, 2024

#1469 (comment)

Slightly more updated one:

  kotlinVersion = '1.9.23'
  ndkVersion = "26.1.10909125"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants