Testing UE 5.7.0. Previous installation and settings for 5.4 do not work in 5.7. When packaging, UE pops up a dos box and installs something for a flash second - Build successful but next it fails with ‘Platform Android is not a valid platform to build. Check that the SDK is installed properly and that you have the necessary platform support files (DataDrivenPlatformInfo.ini, SDK.json, etc).‘
Any suggestion / guide for 5.7.0?
Edit @VictorLerp In the ue5.7 documentation, there is a typo that breaks the referring page with the needed information I think. See
Supported XR Platforms in Unreal Engine
This page provides information on the XR platforms and devices supported in Unreal Engine and how to set them up.
%sharing-and-releasing-projects/xr-development/supported-xr-platforms:topic%
You need a new version of Android studio, and the file paths for the sdk/ndk has changed. My recommendation is to nuke your entire Anroid dev environment (including the environment variables ANDROID_HOME, JAVA_HOME, NDK_ROOT) and then follow the Android setup documentation with engine version set to 5.7. If you need the dev environment for 5.4 and 5.7 you’ll need the two versions of Android Studio installed and switch your environment variable values back/forth when switching UE versions.
Thanks for the reply. Finally had the VRtemplate running by;
- change the NDK to 27.2, JDK to 21 , set SDK SPI level to Android-34 and NDK Api level to Android-27
- in the android settings, set the min SDK to 34, and target SDK is 34
- Unreal then installs a new gradle when packing the first time
Now, have to investigate and test which combo of settings on Quest work in 5.7 for forward, deferred, mobile hdr, mobile multiview, instance stereo etc etc.