RuntimeExecutionException: com.google.android.gms.common.api.ApiException: 13: ERROR Places API

前端 未结 8 1940
陌清茗
陌清茗 2020-12-06 04:14

I am getting the following exception while trying out google places API to get likelihood places for Current Place in android.

Process: me.nabeelkottol.linke         


        
8条回答
  •  生来不讨喜
    2020-12-06 05:03

    Well in my case both com.google.android.gms.version and com.google.android.geo.API_KEY were already added in manifest. Why this error occurred because i switched my project into a new system the sha1 key didn't matched from the list.

    What i did to resolve this error is: I have generated new SHA1 from my new system and added this SHA1 in under

    credentials=> API Key=> then Add package name and SHA1

    of Places SDK for Android

提交回复
热议问题