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

前端 未结 8 1917
陌清茗
陌清茗 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:11

    I had the same issue, I was able to resolve it by enabling Google places Api from Google console and adding places api key. As soon as you enable the Places api, it will automatically ask you to add api key, just follow the instructions.

    Then add the API key in your manifest file.

    
    
    
    

    Also, your emulator should have latest Google Play Services installed. Else use real Android device for testing.

提交回复
热议问题