Skip to content

Commit e64889f

Browse files
committed
chore: fix build
1 parent 607ddbc commit e64889f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/android.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
run: |
169169
rustup target install aarch64-linux-android
170170
cargo install duckscript_cli --force --locked
171-
cargo install --version 3.3.0 cargo-ndk --locked
171+
cargo install --version 4.1.2 cargo-ndk --locked
172172
sudo wget -qO /etc/apt/trusted.gpg.d/dart_linux_signing_key.asc https://dl-ssl.google.com/linux/linux_signing_key.pub
173173
sudo wget -qO /etc/apt/sources.list.d/dart_stable.list https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list
174174
sudo apt-get update
@@ -206,6 +206,10 @@ jobs:
206206
207207
- name: Build AppFlowy
208208
working-directory: frontend
209+
env:
210+
# Match the app's minSdkVersion. RocksDB 10.4 requires Android API 23+
211+
# for POSIX_MADV_* definitions, while cargo-ndk otherwise defaults to 21.
212+
CARGO_NDK_PLATFORM: "29"
209213
run: |
210214
cargo make --profile production-android appflowy-core-dev-android
211215
cargo make --profile production-android code_generation

0 commit comments

Comments
 (0)