Android Place Picker closes immediately after launch

后端 未结 14 1319
难免孤独
难免孤独 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:58

    Add compile 'com.google.android.gms:play-services-location:8.1.0' in gradle

    0 讨论(0)
  • 2020-11-27 06:01

    Have you double checked that your API key is associated with your application (package name and SHA-1 fingerprint of your app's certificate) in the Developer Console?

    You can find instructions at Signup and API Keys. Make sure to set it up for both your debug and your release certificates.

    I hope that helps!

    0 讨论(0)
提交回复
热议问题