Google Places for Android API key does not work on app from Play Store

前端 未结 5 2087
感情败类
感情败类 2021-01-11 10:38

I recently launched an Android app which makes use of the Google Places autocomplete widget/API. As part of the configuration for this, I added the API key to my Android\'s

5条回答
  •  被撕碎了的回忆
    2021-01-11 11:18

    I believe the problem is with missing SHA-1 in your Google console, the place where You already activated api places. There should be place to add release SHA-1 (key). Then You will be able see Google Places on another devices.

    To generate SHA-1 there is a gradle script in android studio. Click on Gradle bar which is placed on the right side of Android Studio. Select the name of Your app, open tasks>android>signingReport. It will output all SHA-1 keys.

提交回复
热议问题