Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

android: externals: Update libadrenotools, use useLegacyPackaging.

bunneicb9ba1b00405
diff --git a/externals/libadrenotools b/externals/libadrenotools
index a6c0947df6..5cd3f5c5ce 160000
--- a/externals/libadrenotools
+++ b/externals/libadrenotools
@@ -1 +1 @@
-Subproject commit a6c0947df6b152b350342f5191b3082768e15e38
+Subproject commit 5cd3f5c5ceea6d9e9d435ccdd922d9b99e55d10b
diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts
index 21ebfa4fca..4aa19c91ac 100644
--- a/src/android/app/build.gradle.kts
+++ b/src/android/app/build.gradle.kts
@@ -32,6 +32,11 @@ android {
jvmTarget = "17"
}
+ packagingOptions {
+ // This is necessary for libadrenotools custom driver loading
+ jniLibs.useLegacyPackaging = true
+ }
+
lint {
// This is important as it will run lint but not abort on error
// Lint has some overly obnoxious "errors" that should really be warnings