Google Oauth 2.0 RESULT_CANCELED while using Google Fit api

后端 未结 7 1980
死守一世寂寞
死守一世寂寞 2020-12-11 04:04

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

7条回答
  •  生来不讨喜
    2020-12-11 04:47

    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 :)

提交回复
热议问题