diff --git a/pkg/android/phoenix-common/src/com/retroarch/browser/retroactivity/RetroActivityCommon.java b/pkg/android/phoenix-common/src/com/retroarch/browser/retroactivity/RetroActivityCommon.java index 38b602cac8..cc84408b84 100644 --- a/pkg/android/phoenix-common/src/com/retroarch/browser/retroactivity/RetroActivityCommon.java +++ b/pkg/android/phoenix-common/src/com/retroarch/browser/retroactivity/RetroActivityCommon.java @@ -47,6 +47,10 @@ import java.util.Locale; */ public class RetroActivityCommon extends NativeActivity { + static { + System.loadLibrary("retroarch-activity"); + } + public static int FRONTEND_POWERSTATE_NONE = 0; public static int FRONTEND_POWERSTATE_NO_SOURCE = 1; public static int FRONTEND_POWERSTATE_CHARGING = 2; diff --git a/pkg/android/phoenix/build.gradle b/pkg/android/phoenix/build.gradle index 76365b45fd..8ea0adf556 100644 --- a/pkg/android/phoenix/build.gradle +++ b/pkg/android/phoenix/build.gradle @@ -14,6 +14,12 @@ allprojects { google() jcenter() } + + Properties props = new Properties() + props.load(new FileInputStream(new File(project.rootDir, "retroarch.properties"))) + props.each { prop -> + project.ext.set(prop.key, prop.value) + } } apply plugin: 'com.android.application' diff --git a/pkg/android/phoenix/retroarch.properties b/pkg/android/phoenix/retroarch.properties new file mode 100644 index 0000000000..c281adf3eb --- /dev/null +++ b/pkg/android/phoenix/retroarch.properties @@ -0,0 +1 @@ +android.bundle.enableUncompressedNativeLibs=false