Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
SuperFreq's avatar
SuperFreq
Explorer
7 years ago

Setting up Android with Quest project on Unreal

So I have followed the instructions on this guide: https://developer.oculus.com/documentation/quest/latest/concepts/unreal-quick-start-guide-quest/
and I am still having issues getting a package built. 
I will add as feedback for that guide that there is a lot of stuff missing for people that have not done work with Android before. I would include how to setup the directories on step 14 and how to get those files from Android Studio setup.
Even with Android studio, you have to pull down NDK v14 to get it to go. Also Java JDK needed to be installed as well.

So my problem is packaging the Android ASTC package. I get an error at the end that says that it failed on rungradle.bat
I saw in another post that I may need a newer version of NDK, but I can't find what version is needed. I tried v18c and it failed.  Any advice?

3 Replies

Replies have been turned off for this discussion
  • Ok, I just found out more info. It appears that it could not determine the java version.

    FAILURE: Build failed with an exception.
    UATHelper: Packaging (Android (ASTC)): * What went wrong:
    UATHelper: Packaging (Android (ASTC)): Could not determine java version from '12.0.1'.

    I had just grabbed the latest version of JDK. Is anyone aware of which version I should be using?
  • I have also tried version 11.0.3 and got the same result. Does any one know what version of JDK is required to get this to package? Is there an easier way that I am not aware of that does not include downloading the NDK and JDK separate? This seems to be a PITA to setup, you would think it would be noted in the quick start guide.