From b8b33a6423ad3d0ac1d701b91099e3a70e4f6197 Mon Sep 17 00:00:00 2001 From: stujones11 Date: Sat, 22 Dec 2018 18:02:00 +0000 Subject: Android: Fix start-up crashes on version 4.x (#8003) * Android: Load shared STL library * Android: Fix exception with window background image --- .../android/src/main/java/net.minetest.minetest/MtNativeActivity.java | 1 + build/android/src/main/res/values-v21/styles.xml | 4 ++-- build/android/src/main/res/values/styles.xml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'build/android/src/main') diff --git a/build/android/src/main/java/net.minetest.minetest/MtNativeActivity.java b/build/android/src/main/java/net.minetest.minetest/MtNativeActivity.java index f76634c20..bca8f544e 100644 --- a/build/android/src/main/java/net.minetest.minetest/MtNativeActivity.java +++ b/build/android/src/main/java/net.minetest.minetest/MtNativeActivity.java @@ -10,6 +10,7 @@ import android.view.WindowManager; public class MtNativeActivity extends NativeActivity { static { + System.loadLibrary("c++_shared"); System.loadLibrary("openal"); System.loadLibrary("ogg"); System.loadLibrary("vorbis"); diff --git a/build/android/src/main/res/values-v21/styles.xml b/build/android/src/main/res/values-v21/styles.xml index efd09d274..825ab1d37 100644 --- a/build/android/src/main/res/values-v21/styles.xml +++ b/build/android/src/main/res/values-v21/styles.xml @@ -4,9 +4,9 @@