From 3b3435dfe4ba7019649b3ff3a236a49bd161513e Mon Sep 17 00:00:00 2001 From: Lalumo Admin Date: Thu, 3 Jul 2025 22:30:33 +0200 Subject: [PATCH 1/2] README: update Android Studio version --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7255e3aeb..21d32064f 100644 --- a/README.md +++ b/README.md @@ -193,12 +193,13 @@ Build Android Studio ============= -This application has been tested and will build in Android Studio (last test on Chipmunk, 2021.2.1 patch 1). +This application has been tested and will build in Android Studio (last test on Narwhal, 2025.1.1). Steps to run in Android Studio: * Open Android Studio * File -> New -> Project From Version Control... * Paste in this repository URL if you've setup github already, otherwise setup github * In Android Studio `Build Variants` window, select variant and target ABI if applicable +* Make sure to set the emulator's preferred ABI to match the build target arm64-v8a * Run -> Edit Configurations... * Select `APK from app bundle` for `Deploy` to avoid library build From ad7b11bd3321362c3f3ca1fc8e4f0ef95f927710 Mon Sep 17 00:00:00 2001 From: Lalumo Admin Date: Thu, 3 Jul 2025 22:35:09 +0200 Subject: [PATCH 2/2] add C++ shared library support for arm64 --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index ecfb5c19d..5e89b9585 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -15,7 +15,7 @@ android { targetSdkVersion 34 externalNativeBuild { ndkBuild { - arguments "APP_PLATFORM=android-21" + arguments "APP_PLATFORM=android-21", "APP_STL=c++_shared" abiFilters 'arm64-v8a' } }