Skip to main content
bossleoio
Participant
Oct 12, 2024 10:16 PM UTC

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:

 

    This topic has been closed for replies.

    2 replies

    MetaStoreHelp
    Community Manager
    Oct 17, 2024 5:07 PM UTC

    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.

    If you're the author of a thread, remember to mark a reply as the Accepted Solution to help others find answers!
    Meta Employee
    Oct 29, 2024 6:32 PM UTC

    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?