Google Oauth 2.0 RESULT_CANCELED while using Google Fit api

后端 未结 7 1984
死守一世寂寞
死守一世寂寞 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:25

    In my case, I changed the apk name but failed to update it in the OAuth credentials console. Then my onActivityResult code gave me RESULT_CANCELLED. As soon as I corrected the apk name, everything started working again.

提交回复
热议问题