且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

适用于Android位置选择器的Google Places API无法正常工作

更新时间:2023-10-11 22:30:22

我想出了我自己问题的答案.

I figured out the answer to my own question.

如果其他人遇到相同的问题,请确保启用"Android的Places API" ,而不仅要启用"Places API" ://console.developers.google.com"rel =" noreferrer>开发者控制台. "Android的Places API" 不会显示在"APIs& Auth/APIs"下,因为它尚未流行.您将必须使用API​​搜索框进行搜索.

If anybody else encounters the same issue, make sure you enable "Places API for Android" and not just "Places API" in the Developer Console. "Places API for Android" will not show up under "APIs & Auth/APIs" because it isnt a popular API (yet). You will have to search for it using the API search box.