Error : Ambiguous method call. Both findViewById (int) in AppCompactActivity and Activity
Error : Ambiguous method call. Both findViewById (int) in AppCompactActivity and Activity I am getting the error: "Ambiguous method call" on initializing Toolbar using Android Studio 3.0 RC1. I have extended my Activity with AppCompatActivity and compiling my application using 'compileSdkVersion 26'. Attaching a screenshot of the error. 11 Answers 11 Upgrade to appcompat 27 solved this for me That's not recommended, as lint will tell you: This support library should not use a different version (27) than the compileSdkVersion (26) – paprika Nov 12 '17 at 19:11 @paprika To follow this solution, you also need to update compleSdkVersion to 27. – Code-Apprentice...