Set android min sdk version and api version all to 28. That's all we need. Should fix reported crashes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4418 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
35c21fbdaf
commit
79404e4d41
9
Makefile
9
Makefile
@ -28,8 +28,7 @@ ANDROID_SDK ?= ~/Android/Sdk
|
|||||||
ANDROID_BUILD_TOOLS := $(ANDROID_SDK)/build-tools/33.0.1
|
ANDROID_BUILD_TOOLS := $(ANDROID_SDK)/build-tools/33.0.1
|
||||||
ANDROID_PLATFORM := $(ANDROID_SDK)/platforms/android-33
|
ANDROID_PLATFORM := $(ANDROID_SDK)/platforms/android-33
|
||||||
ANDROID_NDK ?= $(ANDROID_SDK)/ndk/23.1.7779620
|
ANDROID_NDK ?= $(ANDROID_SDK)/ndk/23.1.7779620
|
||||||
ANDROID_NDK_API_VERSION := 31
|
ANDROID_MIN_SDK_VERSION := 28
|
||||||
ANDROID_MIN_SDK_VERSION := 26
|
|
||||||
|
|
||||||
ANDROID_ARM64_TARGETS := \
|
ANDROID_ARM64_TARGETS := \
|
||||||
out/androiddebug/tildefriends \
|
out/androiddebug/tildefriends \
|
||||||
@ -82,10 +81,10 @@ windebug winrelease: LDFLAGS += \
|
|||||||
-Ldeps/openssl/mingw64/lib
|
-Ldeps/openssl/mingw64/lib
|
||||||
$(ANDROID_X86_64_TARGETS): ANDROID_NDK_TARGET_TRIPLE := x86_64-linux-android
|
$(ANDROID_X86_64_TARGETS): ANDROID_NDK_TARGET_TRIPLE := x86_64-linux-android
|
||||||
$(ANDROID_ARM64_TARGETS): ANDROID_NDK_TARGET_TRIPLE := aarch64-linux-android
|
$(ANDROID_ARM64_TARGETS): ANDROID_NDK_TARGET_TRIPLE := aarch64-linux-android
|
||||||
$(ANDROID_TARGETS): CC = $(ANDROID_NDK)/toolchains/llvm/prebuilt/linux-x86_64/bin/$(ANDROID_NDK_TARGET_TRIPLE)$(ANDROID_NDK_API_VERSION)-clang
|
$(ANDROID_TARGETS): CC = $(ANDROID_NDK)/toolchains/llvm/prebuilt/linux-x86_64/bin/$(ANDROID_NDK_TARGET_TRIPLE)$(ANDROID_MIN_SDK_VERSION)-clang
|
||||||
$(ANDROID_TARGETS): AS = $(CC)
|
$(ANDROID_TARGETS): AS = $(CC)
|
||||||
$(ANDROID_TARGETS): CFLAGS += \
|
$(ANDROID_TARGETS): CFLAGS += \
|
||||||
-target $(ANDROID_NDK_TARGET_TRIPLE)$(ANDROID_NDK_API_VERSION) \
|
-target $(ANDROID_NDK_TARGET_TRIPLE)$(ANDROID_MIN_SDK_VERSION) \
|
||||||
-Wno-unknown-warning-option
|
-Wno-unknown-warning-option
|
||||||
$(ANDROID_ARM64_TARGETS): CFLAGS += -Ideps/openssl/android/arm64-v8a/usr/local/include
|
$(ANDROID_ARM64_TARGETS): CFLAGS += -Ideps/openssl/android/arm64-v8a/usr/local/include
|
||||||
$(ANDROID_ARM64_TARGETS): LDFLAGS += -Ldeps/openssl/android/arm64-v8a/usr/local/lib
|
$(ANDROID_ARM64_TARGETS): LDFLAGS += -Ldeps/openssl/android/arm64-v8a/usr/local/lib
|
||||||
@ -392,7 +391,7 @@ windebug winrelease: LDFLAGS += \
|
|||||||
-lws2_32 \
|
-lws2_32 \
|
||||||
-lwsock32
|
-lwsock32
|
||||||
$(ANDROID_TARGETS): LDFLAGS += \
|
$(ANDROID_TARGETS): LDFLAGS += \
|
||||||
-target $(ANDROID_NDK_TARGET_TRIPLE)$(ANDROID_NDK_API_VERSION) \
|
-target $(ANDROID_NDK_TARGET_TRIPLE)$(ANDROID_MIN_SDK_VERSION) \
|
||||||
-ldl \
|
-ldl \
|
||||||
-llog \
|
-llog \
|
||||||
-lssl \
|
-lssl \
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
package="com.unprompted.tildefriends"
|
package="com.unprompted.tildefriends"
|
||||||
versionCode="10"
|
versionCode="10"
|
||||||
versionName="0.0.10-wip">
|
versionName="0.0.10-wip">
|
||||||
<uses-sdk android:minSdkVersion="26"/>
|
<uses-sdk android:minSdkVersion="28"/>
|
||||||
<uses-permission android:name="android.permission.INTERNET"/>
|
<uses-permission android:name="android.permission.INTERNET"/>
|
||||||
<application android:label="Tilde Friends" android:usesCleartextTraffic="true" android:debuggable="true">
|
<application android:label="Tilde Friends" android:usesCleartextTraffic="true" android:debuggable="true">
|
||||||
<meta-data android:name="android.max_aspect" android:value="2.1"/>
|
<meta-data android:name="android.max_aspect" android:value="2.1"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user