Error : Ambiguous method call. Both findViewById (int) in AppCompactActivity and Activity
If you recently updated your project to API, Try doing
File -> Invalidate Caches / Restart
then
File -> Sync Project with Gradle Files
this resolve for me.
Upgrade to appcompat 27 solved this for me
For me, it was the compileSdkVersion
which was different than the support libraries used