0

First Image

Second Image

As I attached 2 images, I am having trouble running my spring boot gradle project written in groovy.

As soon as I open the project, intellij tries to build the project and it fails saying Gradle Sync failed.

Since it is complaining about java home in the jdk setting, I was trying to change the path as my intellij expects. but as soon as I change it, it tells me that it cannot find android sdk location. and I have no idea why it cares about android sdk. This project is about spring batch job using gradle and groovy.

I have been searching why it happens for days now and online is talking about ardroid studio solution. and those solution do not apply to my problem.

Can someone help me with this issue please?

Thank you in advance.

p4rt2020
  • 13
  • 6

1 Answers1

0

It looks like you are running Android Studio instead of IntelliJ IDEA.

The former doesn't support projects other than targeted for Android, so your project will not work there.

Make sure you run IntelliJ IDEA. You can get it at https://www.jetbrains.com/idea/download/index.html.

CrazyCoder
  • 389,263
  • 172
  • 990
  • 904