Commit cf87d5764d00c8866dfa18fd2def924ac9bf14ee

Sam Lantinga 2019-04-16T20:00:14

Explicitly load hidapi as a dependency of the SDL library This fixes loading on Android 4.2

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
index 0e3580c..420acd7 100644
--- a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
+++ b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
@@ -136,6 +136,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
      */
     protected String[] getLibraries() {
         return new String[] {
+            "hidapi",
             "SDL2",
             // "SDL2_image",
             // "SDL2_mixer",