Forum Discussion
bossleo.io
2 years agoMember
Hello World (Issue with Gradle Properties)
I am a first time developer and looking at the Meta Spatial SDK for the first time. I am already experiencing issue with simple getting started with the Starter Sample project.
Following the instructions, I have installed Android Studio and made all the necessary updates, but not able to run the project due to a gradle properties issue.
When I try to run the Starter Sample, I would get the below build errors:
2 Replies
Replies have been turned off for this discussion
- MetaStoreHelpCommunity Manager
From the screenshot, the error is "Unknown Kotlin JVM target: 21". This indicates an incompatibility between your Kotlin, Java, or Gradle version. You can see a full compatibility matrix here (https://docs.gradle.org/current/userguide/compatibility.html). Please make sure your configured setup has some valid combination of these.
- pmcgvrMeta Employee
We have also released version 0.5.1 now which aims to fix some of these setup issues with the sample projects. Could you try downloading the newest version of our samples from https://github.com/meta-quest/Meta-Spatial-SDK-Samples and see if they open and compile in Android Studio?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 10 months ago
- 2 months ago