diff options
| author | Albin <albin@mullvad.net> | 2022-10-11 11:59:12 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2022-10-11 11:59:12 +0200 |
| commit | b27a50b785e29f0ca8ba5a0f3362b5b174760b22 (patch) | |
| tree | d0492c14c82bd3624a542c91c236dfd8da4e1fa2 /android/BuildInstructions.md | |
| parent | 7ddd910f6dae63a12d9f924e8e967e7b2c068b67 (diff) | |
| parent | 5d9b9d239ccaaa07e9102e58456a705c2633d748 (diff) | |
| download | mullvadvpn-b27a50b785e29f0ca8ba5a0f3362b5b174760b22.tar.xz mullvadvpn-b27a50b785e29f0ca8ba5a0f3362b5b174760b22.zip | |
Merge branch 'fix-android-build-instructions'
Diffstat (limited to 'android/BuildInstructions.md')
| -rw-r--r-- | android/BuildInstructions.md | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/android/BuildInstructions.md b/android/BuildInstructions.md index 5566a6d310..bc0e362454 100644 --- a/android/BuildInstructions.md +++ b/android/BuildInstructions.md @@ -9,14 +9,19 @@ on your platform please submit an issue or a pull request. [instructions](https://docs.docker.com/engine/install/debian/) for your distribution. - Install a protobuf compiler (version 3 and up), it can be installed on most major Linux distros - via the package name `protobuf-compiler` (Fedora also requires `protobuf-devel`). + via the package name `protobuf-compiler`. An additional package might also be required depending + on Linux distro: + - `protobuf-devel` on Fedora. + - `libprotobuf-dev` on Debian/Ubuntu. + +- Install `gcc` ## Android toolchain - Install the JDK ```bash - sudo apt install zip default-jdk + sudo apt install zip openjdk-8-jdk-headless ``` - Install the SDK @@ -28,9 +33,9 @@ on your platform please submit an issue or a pull request. cd /opt/android # Or some other directory to place the Android SDK export ANDROID_HOME=$PWD - wget https://dl.google.com/android/repository/commandlinetools-linux-6609375_latest.zip + wget https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip unzip commandlinetools-linux-6609375_latest.zip - ./tools/bin/sdkmanager "platforms;android-29" "build-tools;29.0.3" "platform-tools" + ./tools/bin/sdkmanager "platforms;android-33" "build-tools;33.0.0" "platform-tools" ``` If `sdkmanager` fails to find the SDK root path, pass the option `--sdk_root=$ANDROID_HOME` |
