Java Project Setup

Hello All

Any good example yaml files for setting up a Java project?

Thank you

I am getting closer. How do I location the ANDROID_SDK_ROOT so I can set that in the yaml file?

where is android sdk root folder gradle

Hello @asmgi,

Could you share a bit more information about your set-up?
What CI are you using? What build technology are you using?

No CI tool at the moment

This is an Android app

This is the error I am seeing

* What went wrong:

A problem occurred configuring project ‘:app’.

SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project’s local properties file at ‘/opt/atlassian/pipelines/agent/build/PROJECTNAME/local.properties’.

So how do I set the path and what should it be?

Thanks

Did my response help at all?
Thanks

Hello @asmgi,

Sorry for such a late reply. Most probably you either don’t have an android sdk at all or haven’t set the location to it rto the environment variable ANDROID_SDK_ROOT. The default location depends on your operating system. You can find more information here.

Please note, your problem is not related to SonarQube/SonarCloud/SonarLint. So I’m closing the thread. Feel free to open a new thread if you have any problems with our products.

Regards,
Margarita