Android Studio 3.x Cannot Resolve Symbol

No build error, but IDE cannot resolve symbol

Close the project (File -> Close Project).

It will prompt the Welcome to Android Studio screen, where the first option is Start a mew Android Studio project.

Click Import project (Gradle, Eclipse, ADT, etc.) to import the project again and the problem should be resolved.

NOTE: I tried File -> Invalidate Caches / Restart yet it didn't solve the IDE cannot resolve symbol error.

References:

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.