Can't built the client for Quest 2

Tried on Win10 and MacOS 14, both failed.
Failing, claiming a version issue between Java 21.0.3 and Gradle 6.1.1.

Tried to reverse to Android Nougat 7.1.1
Tried to install JDK 23 from Oracle
Now replacing with 23 from SDK manager in AS

I read somewhere that you guys where not using the latest AS, JDK, SDK…
That totally makes sense, but for the non-experts that only compile the CloudXR client, for we are not coders (I know we should, I wish I were, but you know… kids…stuffs…) we have no idea how to fix versions issues and it’s a bit of a wack-a-mole game.

Would it be possible to provide us with a cooking list that works ?
What AS version, what Android target, what JDK/SDK we should use ?

It took me 2h to setup a cloudxr server on aws, and it’ll take me two days, hopefully, to build the client. Not optimal.

Thanks and kudos for the whole CloudXr project !!

B

2 Likes

Hi, @bernard_mendiburu!

It’s not ideal. I will be writing up a more detailed Android build/debug guide, but for now, here’s some stuff that I wrote up on this topic:

The sample clients provided with CloudXR 4.0 use Gradle 6.1.1. Upgrading the projects to support Gradle may cause issues, but as of 2024, Android does not ship with a version of Java compatible with Gradle 6.1.1. A JDK of version 13 is known to work. You can download the JDK from within Android Studio.

Select Version 13 when downloading JDK


image

1 Like