Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Directories rendered as packages in Intellij Idea 13?

After a rebuild of my android project i saw that the src folder and other folders(assets, libs etc) have turned into packages.(Packages in Intellij have a folder icon with a ball inside it)

Due to this, I also got errors in all files inside src folder. (for example see SearchActivity.java , 1st line).

enter image description here

I am new to Intellij so apologies if this sounds rudimentary.

like image 872
Ram Patra Avatar asked Sep 03 '25 04:09

Ram Patra


1 Answers

As of 2019.2.2, it's easiest to do File > Project Structure..., double click Modules, and then under the "Sources" tab right click the folder and un-mark it as a source folder.

like image 176
Kyle Avatar answered Sep 04 '25 19:09

Kyle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!