From one moment to the next, all my Activity java shows me an error in the resource R
You have Build->Clean
and then Build->Rebuild
for the IDE to clean cache and recognize the new changes.
This problem sometimes occurs when adding a library-dependency-assisted mode, which is not correctly performed. For example if you have added the dependency of a library with a version level, when another version level is required In this case, try adjusting the dependency manually: