Update ndkVersion as well

This commit is contained in:
Caleb Jasik 2025-01-23 10:26:10 -06:00
parent 067666e86b
commit 6b44bb3c8e
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -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`

View file

@ -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'