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

前端 未结 8 1920
陌清茗
陌清茗 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 04:47

    OK. I hope you didn't have to waste as much time as I did to find out this. But to get @Umar Ata 's answer working you need to put in both of the meta-data tags in your manifest file. So it should go like this.

    
    ...
    
    
    
    ...    
    
    

    And even after getting everything right it gave me error: PLACES_API_ACCESS_NOT_CONFIGURED 9003 which I got fixed by enabling Places SDK for Android and things finally got well.

提交回复
热议问题