diff --git a/build.gradle b/build.gradle index ac3e9fda..25c79cc2 100644 --- a/build.gradle +++ b/build.gradle @@ -65,10 +65,10 @@ android { // for Vulkan, need at least 24 // for AImage_getHardwareBuffer, API 26 minSdkVersion 29 - compileSdkVersion 29 + compileSdkVersion 32 targetSdkVersion 32 // for Oculus Store - versionName = "1.0" + versionName = "0.19" versionCode = 1 externalNativeBuild { diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index e02562ff..5202f193 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -27,7 +27,8 @@ if(ANDROID) find_library(AAUDIO_LIBRARY NAMES aaudio REQUIRED) target_link_libraries(wivrn ${ANDROID_LIBRARY} ${MEDIA_LIBRARY} ${AAUDIO_LIBRARY}) - set(DYNAMIC_LOADER OFF) + # The OpenXR loader must be dynamically loaded or the Oculus store will refuse it with "Oculus SDK not found or older than 1.0" + set(DYNAMIC_LOADER ON) FetchContent_MakeAvailable(openxr_loader) target_link_libraries(wivrn openxr_loader)