I know this is already been asked here IntelliJ IDEA - Can't build anything, always get "package R does not exist"
but it does not solved my problem.I always get package R does not exists every time I rebuild the project.
I hope someone can guide me how to fixed this problem.
Thank you in advance.
./gradlew clean
orant clean
from your module's folder in terminal/cmd. Then hit run (Shift F10) or debug (Shift F9) until jetbrains releases 14.0.4