mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-01 02:56:56 +01:00
Problem: libzmq use outdated Android NDK version
Solution: Update Android NDK version
This commit is contained in:
parent
3da6fde592
commit
83667099bb
@ -5,12 +5,12 @@
|
||||
You need the Android Native Development Kit (NDK) installed. See
|
||||
[here](https://developer.android.com/ndk) to download it.
|
||||
|
||||
This project is tested against Android NDK version r20.
|
||||
This project is tested against Android NDK version r21d.
|
||||
|
||||
If you installed version r20 all you have to do is to expose the NDK root
|
||||
If you installed version r21d all you have to do is to expose the NDK root
|
||||
directory as environment variable, e.g:
|
||||
|
||||
export ANDROID_NDK_ROOT=$HOME/android-ndk-r20
|
||||
export ANDROID_NDK_ROOT=$HOME/android-ndk-r21d
|
||||
|
||||
If you installed another version you have to expose the NDK root directory as
|
||||
well as the NDK version, e.g:
|
||||
|
@ -35,8 +35,8 @@ esac
|
||||
|
||||
# Set default values used in ci builds
|
||||
|
||||
export NDK_VERSION=${NDK_VERSION:-android-ndk-r20}
|
||||
# With NDK r20, the minimum SDK version range is [16, 29].
|
||||
export NDK_VERSION=${NDK_VERSION:-android-ndk-r21d}
|
||||
# With NDK r21d, the minimum SDK version range is [16, 29].
|
||||
# SDK version 21 is the minimum version for 64-bit builds.
|
||||
export MIN_SDK_VERSION=${MIN_SDK_VERSION:-21}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
export NDK_VERSION=android-ndk-r20
|
||||
export NDK_VERSION=android-ndk-r21d
|
||||
export ANDROID_NDK_ROOT="/tmp/${NDK_VERSION}"
|
||||
|
||||
case $(uname | tr '[:upper:]' '[:lower:]') in
|
||||
|
Loading…
x
Reference in New Issue
Block a user