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).
I am new to Intellij so apologies if this sounds rudimentary.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With