Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio - App folder is marked red although there is no error

I have the problem that my app folder in Android Studio is highlighted in red when there is no error and the app perfectly works. I dont know if this is coincidence but I believe the error happened after I importet some .svg files as vector assets.

This is no tragic problem but still annoys me.

red highlighted app folder

Also I cannot hover on that red stripe on the right side.

I browsed through the problem detection tool and got the same result as I suspected. Just Warnings and Typos - no errors.

problem detection

What else have I tried:

  • Sync Project with Gradle Files
  • Invalidate Caches and Restart
  • Repair IDE

Maybe someone knows how to fix it?

like image 811
Convi Avatar asked Sep 11 '25 18:09

Convi


1 Answers

Solved:

Just open the menu item "Project" below your Project name (I think it should be Android by default). You can find non-visible folders in that view causing the errors. Just delete them if not needed.

Many Thanks to @JakeLee solving it!

like image 121
Convi Avatar answered Sep 13 '25 14:09

Convi