Whenever I try to package or play the vr template from UE5, it Gives me this error: SDK Verification failed. Would you like to attempt the Launch On anyway? and then says Verifying sdk and device failed. It can detect my Oculus Quest 2 and I am using SDK 25 from android studio, I have looked around and found nothing about SDK’s or VR setup in general for UE5. Any Idea which SDK I should be using or whether it is some other issue?
You have checked all the paths for android setup right?
Java and such
I just Installed the recommended Android SDK from Android studio, I didn’t add any paths.
Check project settings for the same.
Did you find a solution for this? I have the same issue trying to deploy on Android. Strangely when I clicked through and tried to deploy anyway it says it has been successful, but nothing appears.
After some trial and error I’ve been able to successfully deploy a UE5 Early Access project to my Android device. I’m also using the latest Android Studio installer, which is 4.2.1 as of the writing of this post.
First off, install the latest Android Studio. Then, there is an included .bat script within each UE install which you need to run which automatically fills in your project settings with the Android SDK and NDK locations and downloads the proper NDK, which right now looks like it is r21. The .bat location will look like this:
C:\Program Files\Epic Games\UE_5.0EA\Engine\Extras\Android\
From UE docs: “In the event that you receive an error stating that
repositories.cfg cannot be loaded, navigate to the folder where it is expected (usually
C:/Users/[Username].android/repositories ) and create an empty
repositories.cfg file. Android setup should then proceed normally.”
So now back in UE5, plug your phone into USB port and you should see it show up under platforms. If you now try to run it, you will probably get an error about SDK verification failed. My log looked like this:
ATHelper: Verifying SDK and Device (Android): It was not possible to find any compatible framework version
UATHelper: Verifying SDK and Device (Android): The framework ‘Microsoft.WindowsDesktop.App’, version ‘3.1.0’ was not found.
UATHelper: Verifying SDK and Device (Android): - No frameworks were found.
UATHelper: Verifying SDK and Device (Android): You can resolve the problem by installing the specified framework and/or SDK.
UATHelper: Verifying SDK and Device (Android): The specified framework can be found at:
UATHelper: Verifying SDK and Device (Android): - Download .NET Core 3.1 Runtime
UATHelper: Verifying SDK and Device (Android): BUILD FAILED
So after I followed the link and did the install, then the verification error went away.
If you get an additional error like this:
LogPlayLevel: A fatal error occurred. The required library hostfxr.dll could not be found.
LogPlayLevel: If this is a self-contained application, that library should exist in [C:\Program Files\Epic Games\UE_5.0EA\Engine\Binaries\DotNET\AutomationTool].
I also installed this runtime to address that error
But the previous 3.1.0 link might fix both of these issues.
I needed to install the dependencies for Visual Studio 2019. The error I had was due to the .NET library not being installed.
thank you, installing both .Net Core 3.1 Runtime and 5.0 has fixed my problem, much appreciated
Hi, having similar issues, is there any difference if i downloaded visual studio 2022?
Or only 2019 will work?