mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
lower sdk to 16
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ android {
|
||||
applicationId "com.b44t.messenger"
|
||||
multiDexEnabled true
|
||||
|
||||
minSdkVersion 18
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 28
|
||||
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
APP_PLATFORM := android-18
|
||||
APP_PLATFORM := android-16
|
||||
APP_ABI := armeabi-v7a arm64-v8a x86 x86_64
|
||||
APP_STL := c++_static
|
||||
|
||||
|
||||
+6
-6
@@ -14,11 +14,11 @@ cd jni/deltachat-core-rust
|
||||
# and add the correct clang-linkers to `~/.cargo/config`:
|
||||
# ```
|
||||
# [target.armv7-linux-androideabi]
|
||||
# linker = "PATH_TO_NDK/toolchains/llvm/prebuilt/HOST/bin/armv7a-linux-androideabi18-clang"
|
||||
# linker = "PATH_TO_NDK/toolchains/llvm/prebuilt/HOST/bin/armv7a-linux-androideabi16-clang"
|
||||
# [target.aarch64-linux-android]
|
||||
# linker = "PATH_TO_NDK/toolchains/llvm/prebuilt/HOST/bin/aarch64-linux-android21-clang"
|
||||
# [target.i686-linux-android]
|
||||
# linker = "PATH_TO_NDK/toolchains/llvm/prebuilt/HOST/bin/i686-linux-android18-clang"
|
||||
# linker = "PATH_TO_NDK/toolchains/llvm/prebuilt/HOST/bin/i686-linux-android16-clang"
|
||||
# [target.x86_64-linux-android]
|
||||
# linker = "PATH_TO_NDK/toolchains/llvm/prebuilt/HOST/bin/x86_64-linux-android21-clang"
|
||||
# ```
|
||||
@@ -28,8 +28,8 @@ cd jni/deltachat-core-rust
|
||||
unset CPATH
|
||||
|
||||
echo "-- cross compiling to armv7-linux-androideabi (arm) --"
|
||||
export CFLAGS=-D__ANDROID_API__=18
|
||||
TARGET_CC=armv7a-linux-androideabi18-clang \
|
||||
export CFLAGS=-D__ANDROID_API__=16
|
||||
TARGET_CC=armv7a-linux-androideabi16-clang \
|
||||
cargo build --release --target armv7-linux-androideabi -p deltachat_ffi
|
||||
|
||||
echo "-- cross compiling to aarch64-linux-android (arm64) --"
|
||||
@@ -38,8 +38,8 @@ TARGET_CC=aarch64-linux-android21-clang \
|
||||
cargo build --release --target aarch64-linux-android -p deltachat_ffi
|
||||
|
||||
echo "-- cross compiling to i686-linux-android (x86) --"
|
||||
export CFLAGS=-D__ANDROID_API__=18
|
||||
TARGET_CC=i686-linux-android18-clang \
|
||||
export CFLAGS=-D__ANDROID_API__=16
|
||||
TARGET_CC=i686-linux-android16-clang \
|
||||
cargo build --release --target i686-linux-android -p deltachat_ffi
|
||||
|
||||
echo "-- cross compiling to x86_64-linux-android (x86_64) --"
|
||||
|
||||
Reference in New Issue
Block a user