I'm using intelliJ with libgdx. I created a new project using libgdx and imported it to intellij. when I try to build it I get this error:
Error:(3, 24) java: package com.badlogic.gdx does not exist
and other similar problems. what could be the reason for it?
p.s I found a similar post about it but I couldn't found the gradle window and also I think that it won't help
SOLUTION: The problem was that after I created the project using libgdx-setup.jar, Instead of using "Open Project" I used "Import Project" and it messed up the project.
Use "Open Project" after you create the project using libgdx-setup.jar file and in advanced settings check the IDEA checkbox