Skip to content Skip to sidebar Skip to footer

Cannot Resolve The Symbol R In Android Studio

I have tied deleting these permission from Manifest file manually, and tried building the project, but unfortunately, every time these codes are getting generated after build proje

Solution 1:

Try

Tools -> Android -> Sync Project with Gradle Files

If this doesn't work check that you have the latest version of SDK. Finally check all xml files too.

Solution 2:

If cleaning doesn not works that means you are using a older build tool version(Currently this is bug in studio). To fix this go to

1. File
2. Project Structure
3. Select your module(like app)
4. Inside the properties tab select latest build tool version
5. click Apply and then ok
6. Restart Android studio

Hope this will help

Post a Comment for "Cannot Resolve The Symbol R In Android Studio"