I am using Android Studio 2.0 Preview 4. I\'m using Android SDK tools 25 rc1. This error persists no matter how many times I clean / rebuild project. File->Invalidate Caches
I just thought based on Felipe Gualberto's Answer and I got solution difference way.
If you have written multiple views with the same id in different XML then make it unique.
Thank you.