Skip to content

Commit

Permalink
Fix: Support 16kb pages in sample app (#2445)
Browse files Browse the repository at this point in the history
  • Loading branch information
denrase authored Nov 25, 2024
1 parent 221fc7e commit 7f97e6c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions flutter/example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ android {

externalNativeBuild {
cmake {
arguments.add(0, "-DANDROID_STL=c++_static")
arguments.addAll([
"-DANDROID_STL=c++_static",
// https://developer.android.com/guide/practices/page-sizes#compile-r27
"-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
])
}
}

Expand All @@ -66,7 +70,7 @@ android {
}
}

ndkVersion "25.1.8937393"
ndkVersion "27.2.12479018"

externalNativeBuild {
cmake {
Expand Down

0 comments on commit 7f97e6c

Please sign in to comment.