Skip to content

Commit

Permalink
try ndkVersion = 24.0.8215888
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Apr 8, 2023
1 parent 00bdb88 commit c6ca6a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ ext {
supportLibVersion = project.supportLibVersion
gradlePluginVersion = project.gradlePluginVersion

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"
}
// 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"
// }

ndkVersion = "24.0.8215888"

}

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 = [ "30.0.0" ];
platformVersions = [ "31" ];
cmakeVersions = [ "3.18.1" ];
ndkVersion = "22.1.7171670";
ndkVersion = "24.0.8215888";
includeNDK = true;
includeExtras = [
"extras;android;m2repository"
Expand Down

0 comments on commit c6ca6a0

Please sign in to comment.