1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Fixes to Android build + option to turn LuaJIT on/off for testing purposes (#12334)

This commit is contained in:
paradust7 2022-05-21 08:48:40 -07:00 committed by sfan5
parent 8edc0fae5f
commit 371f21fb35
2 changed files with 61 additions and 3 deletions

View file

@ -34,10 +34,14 @@ import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import androidx.annotation.Keep;
import androidx.appcompat.app.AlertDialog;
import java.util.Objects;
// Native code finds these methods by name (see porting_android.cpp).
// This annotation prevents the minifier/Proguard from mangling them.
@Keep
public class GameActivity extends NativeActivity {
static {
System.loadLibrary("c++_shared");