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'