Hi, I am new to VR dev. I followed some tutorials and debug for weeks, I am able to build and launch on quest 2 through Project Lanucher and package .apk (Android ASTC) successfully. But they never be abled to open on Oculus Quest 2, it either keep loading with 3 dots or just flash out or pop out “app keep stopping” error.
Either my own project or UE VR Template work.
I have try different combination of version of Android API Level, SKD, NDK, JAVA, but none of them can be run on my Quest2. I have been stuck for 2 weeks, anyone may help?
Current Android Environment:
Android Studio 2022.1.1
SDK Platform: Android 10.0 (API 29)
SDK Build-Tools: 29.02
NDK: 21.1.6352462
JAVA: 1.8.0_361
I have also try:
-Android stuidio 4.0, but it got warning and I cannot open SDK manager
-SDK Build-Tools: 28.0.3, which is suggested by UE4.27 Doc and SetAndroid.bat
-NDK: 23.0.7599858, 21.4.7075529
JAVA: 1.8.0_301, 1.8.0_77
They package successfully but none of them run on Quest2.
- Support arm64
- Disable OpenGL ES3.1
I also tried to package UE5.0 VR template, it can be open on my Quest2. Yet, my UE5 VR template cannot teleport or grab things properly, either on VR Preview or Quest2. Which is another problem. ;((
Tutorials that I have gone through:
UE4.27 Doc
Building Quest 2 VR apps with Unreal Engine 4.27 (Win). (includes Android Studio SDK NDK JDK config)