Can't Compile Classes From An Imported Github Repository

Answered

I just imported a github repository, but now I can't seem to compile any classes. The option for adding any package or class was missing, so I added a new file with a .java extension, but it still couldn't compile.

1
4 comments

File | Project Structure, configure the roots here:

0

Unmark the current root from Sources and mark the subdirectory inside as Sources.

0

Thank you! It works now.

0

Please sign in to leave a comment.