summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Göransson <david.goransson@mullvad.net>2024-09-20 11:52:49 +0200
committerDavid Göransson <david.goransson@mullvad.net>2024-09-24 17:09:53 +0200
commit289709c42fdffb5a1336ae106db35005881e9444 (patch)
tree778ff7c60e9ca49b776923eea2c0c25281c67285
parent4ff46e728f20919fcaf60b44276765dfcd048500 (diff)
downloadmullvadvpn-289709c42fdffb5a1336ae106db35005881e9444.tar.xz
mullvadvpn-289709c42fdffb5a1336ae106db35005881e9444.zip
Update build instructions for new NDK
-rw-r--r--android/BuildInstructions.md6
-rw-r--r--android/docs/BuildInstructions.macos.md4
2 files changed, 5 insertions, 5 deletions
diff --git a/android/BuildInstructions.md b/android/BuildInstructions.md
index 39cf2ad771..c80214f013 100644
--- a/android/BuildInstructions.md
+++ b/android/BuildInstructions.md
@@ -118,10 +118,10 @@ Linux distro:
```bash
cd "$ANDROID_HOME" # Or some other directory to place the Android NDK
- wget https://dl.google.com/android/repository/android-ndk-r25c-linux.zip
- unzip android-ndk-r25c-linux.zip
+ wget https://dl.google.com/android/repository/android-ndk-r27b-linux.zip
+ unzip android-ndk-r27b-linux.zip
- cd android-ndk-r25c
+ cd android-ndk-r27b
export ANDROID_NDK_HOME="$PWD"
```
diff --git a/android/docs/BuildInstructions.macos.md b/android/docs/BuildInstructions.macos.md
index cf26a297d8..a88db7f227 100644
--- a/android/docs/BuildInstructions.macos.md
+++ b/android/docs/BuildInstructions.macos.md
@@ -38,7 +38,7 @@ Open Android Studio -> Tools -> SDK Manager, and install `Android SDK Command-li
Install the necessary Android SDK tools
```bash
-~/Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager "platforms;android-33" "build-tools;30.0.3" "platform-tools" "ndk;25.2.9519653"
+~/Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager "platforms;android-35" "build-tools;35.0.0" "platform-tools" "ndk;27.1.12297006"
```
Install Android targets
@@ -50,7 +50,7 @@ Export the following environmental variables, and possibly store them for exampl
`~/.zprofile` or `~/.zshrc` file:
```bash
export ANDROID_HOME="$HOME/Library/Android/sdk"
-export ANDROID_NDK_HOME="$ANDROID_HOME/ndk/25.2.9519653"
+export ANDROID_NDK_HOME="$ANDROID_HOME/ndk/27.1.12297006"
export NDK_TOOLCHAIN_DIR="$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/darwin-x86_64/bin"
export AR_aarch64_linux_android="$NDK_TOOLCHAIN_DIR/llvm-ar"
export AR_armv7_linux_androideabi="$NDK_TOOLCHAIN_DIR/llvm-ar"