I am trying to use google fit api in my android app. I followed this guide and created SHA-1 certificate using keytool.exe in my jdk 1.8 bin folder. I have now created Oauth
I had this same issue and the error was that I was using building flavors (full, mock) which finally changes the package name.
So, in the console, I had to put the package's flavor, not the manifest's one.
Hope this helps :)