Android Place Picker closes immediately after launch

后端 未结 14 1352
难免孤独
难免孤独 2020-11-27 04:57

I am developing an android application as part of a project, and am using Google places API to display places of interest based on location. I am using the PlacePicker Inent

14条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-27 05:44

    In my case when I changed current API key with the one which is in google-service.json, it resolved the problem.

    In google-services.json:

     "api_key": [
            {
              "current_key": "PASTE THIS API KEY TO THE MANIFEST"
            }
          ]
    

提交回复
热议问题