diff --git a/README.md b/README.md index b7e0456..96604ea 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Run `flutter doctor` and fix everything it complains before proceeding - Copy `env.sh.example` and set it up for your machine - Ensure you have run `gomobile init` -- In Android Studio, make sure you have the current ndk installed by going to Tools -> SDK Manager, go to the SDK Tools tab, check the `Show package details` box, expand the NDK section and select `26.1.10909125` version. +- In Android Studio, make sure you have the current ndk installed by going to Tools -> SDK Manager, go to the SDK Tools tab, check the `Show package details` box, expand the NDK section and select `27.0.12077973` version. - Ensure you have downloaded an ndk via android studio, this is likely not the default one and you need to check the `Show package details` box to select the correct version. The correct version comes from the error when you try and compile - Make sure you have `gem` installed with `sudo gem install` diff --git a/android/app/build.gradle b/android/app/build.gradle index 53d6fc8..2a6f7c5 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -28,8 +28,8 @@ android { compileSdkVersion 34 - // default ndk version for AGP 8.5: https://developer.android.com/build/releases/past-releases/agp-8-5-0-release-notes - ndkVersion "26.1.10909125" + // default ndk version for AGP 8.7: https://developer.android.com/build/releases/past-releases/agp-8-7-0-release-notes + ndkVersion "27.0.12077973" sourceSets { main.java.srcDirs += 'src/main/kotlin' diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 3c85cfe..afa1e8e 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip diff --git a/android/settings.gradle b/android/settings.gradle index 3ff10ee..f664878 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -19,7 +19,7 @@ pluginManagement { plugins { id "org.gradle.toolchains.foojay-resolver-convention" version "0.8.0" id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version '8.6.1' apply false + id "com.android.application" version '8.8.0' apply false id "org.jetbrains.kotlin.android" version "2.0.20" apply false }