aboutsummaryrefslogtreecommitdiff
path: root/build/android/src/main/java/net.minetest.minetest
diff options
context:
space:
mode:
authorstujones11 <stujones111@gmail.com>2018-12-22 18:02:00 +0000
committerLoïc Blot <nerzhul@users.noreply.github.com>2018-12-22 19:02:00 +0100
commitb8b33a6423ad3d0ac1d701b91099e3a70e4f6197 (patch)
treec2c49ba98c3776d9a5dd567a2c02d97dbccfc602 /build/android/src/main/java/net.minetest.minetest
parent309e158fc818227aa08086a0478ba45d1ee3c769 (diff)
downloadminetest-b8b33a6423ad3d0ac1d701b91099e3a70e4f6197.tar.gz
minetest-b8b33a6423ad3d0ac1d701b91099e3a70e4f6197.tar.bz2
minetest-b8b33a6423ad3d0ac1d701b91099e3a70e4f6197.zip
Android: Fix start-up crashes on version 4.x (#8003)
* Android: Load shared STL library * Android: Fix exception with window background image
Diffstat (limited to 'build/android/src/main/java/net.minetest.minetest')
-rw-r--r--build/android/src/main/java/net.minetest.minetest/MtNativeActivity.java1
1 files changed, 1 insertions, 0 deletions
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");