From f5cf6b7ca67a21d47625027e6b1cacdf24b52be7 Mon Sep 17 00:00:00 2001 From: SSimco <37044560+SSimco@users.noreply.github.com> Date: Sat, 20 Jan 2024 22:59:52 +0200 Subject: [PATCH] Updated ndkVersion & build without HIDAPI on android --- src/android/app/build.gradle | 3 ++- vcpkg.json | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/android/app/build.gradle b/src/android/app/build.gradle index a4a796a6..dd4ca3d6 100644 --- a/src/android/app/build.gradle +++ b/src/android/app/build.gradle @@ -5,7 +5,7 @@ plugins { android { namespace 'info.cemu.Cemu' compileSdk 34 - ndkVersion '25.2.9519653' + ndkVersion '26.1.10909125' defaultConfig { applicationId "info.cemu.Cemu" minSdk 30 @@ -60,6 +60,7 @@ android { '-DENABLE_DISCORD_RPC=OFF', '-DENABLE_NSYSHID_LIBUSB=OFF', '-DENABLE_WAYLAND=OFF', + '-DENABLE_HIDAPI=OFF', ) // abiFilters("x86_64", "arm64-v8a") abiFilters("arm64-v8a") diff --git a/vcpkg.json b/vcpkg.json index 18f28c30..d794b76e 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -41,7 +41,10 @@ }, "boost-random", "fmt", - "hidapi", + { + "name": "hidapi", + "platform": "!android" + }, "libpng", "glm", {