Skip to content

Commit

Permalink
ndkVersion-> "23.1.7779620"
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Mar 20, 2023
1 parent 67c31e9 commit 8234c9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,8 @@ ext {
gradlePluginVersion = project.gradlePluginVersion
kotlinPluginVersion = project.kotlinPluginVersion

if (System.properties['os.arch'] == "aarch64") {
// For M1 Users we need to use the NDK 24 which added support for aarch64
ndkVersion = "24.0.8215888"
} else {
// Otherwise we default to the side-by-side NDK version from AGP.
ndkVersion = "21.4.7075529"
}
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "23.1.7779620"
}

buildscript {
Expand Down
2 changes: 1 addition & 1 deletion nix/pkgs/android-sdk/compose.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ androidenv.composeAndroidPackages {
buildToolsVersions = [ "31.0.0" ];
platformVersions = [ "31" ];
cmakeVersions = [ "3.18.1" ];
ndkVersion = "22.1.7171670";
ndkVersion = "23.1.7779620";
includeNDK = true;
includeExtras = [
"extras;android;m2repository"
Expand Down

0 comments on commit 8234c9f

Please sign in to comment.