From: stujones11 Date: Sat, 22 Dec 2018 18:02:00 +0000 (+0000) Subject: Android: Fix start-up crashes on version 4.x (#8003) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3d15a6774d6cc4a9e10cf96602b864562fbc9e4d;p=oweals%2Fminetest.git Android: Fix start-up crashes on version 4.x (#8003) * Android: Load shared STL library * Android: Fix exception with window background image --- 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 234a503da..8669b4493 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 @@