galo galo - 5 days ago 4
Java Question

Java.lang.ClassNotFoundException Android Studio

i am having an error in my Android Studio project.
You have a screenshot with the code. image
Suppressed: java.lang.ClassNotFoundException: Didn't find class
It tells me, when i hover that " cannot resolve symbol .EasyFleet"

Answer

Your MainActivity is inside main->java but EasyFleet is part of androidTest->java. Please move EasyFleet to main->java.

Hope it helps.