Skip to content Skip to sidebar Skip to footer

Couldn't Resolve Resource File For New Empty Activity - Android

i'm Vito. I'm new in android studio.. When i want to make intent, i must generate new empty activity and when i generate new activity i have some trouble in : 'activity_main4' b

Solution 1:

This happens sometimes in Android studio 3+. This solution is pretty simple. Just close your project and import the project again. You will see after the Gradle is sync successfully, the error will be disappeared. Reimport the project and try.

Solution 2:

This happens because sometime android studio unable to find out new fields added in R class so you can sync,build or do invalidate cache. I hope this solution will help you.

Solution 3:

Post a Comment for "Couldn't Resolve Resource File For New Empty Activity - Android"