cancel
Showing results for 
Search instead for 
Did you mean: 

Hello World (Issue with Gradle Properties)

bossleo.io
Member

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:

bossleoio_2-1728771352130.png

 

2 REPLIES 2

MetaQuestSupport
Community Manager
Community 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.

pmcgvr
Meta 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?