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 appli
I've had the same issue
Mine was related to the compileSdkVersion number from build.gradle app.
Changed to the latest and it worked for me.
Removing "Android Fast Networking" library solved my problem
I have recently upgraded to build tools version 27.0.2 and faced the same problem. But noticed that I had the compileSdk version set to 25. Changing compileSdk to 27 resolved the issue.
if answers does not resolve your problem , you can reset your android studio. I solved with reset my android studio. For reset: https://stackoverflow.com/a/19397632/3129822
This can suddenly appear when running a code analyzer like FindBugs-IDEA. A quick way to clear the warning is to temporarily change the buildToolsVersion
in your app/build.gradle
then change it back again.
For example, follow these steps:
buildToolsVersion
to '26.0.1'
then sync project (press the 'Sync Now' button when it appears at the top)buildToolsVersion
back to whatever you had before.This should clear the error.