Я включил API Google Адресов в свое приложение для Android. Я прочитал документацию api См. Здесь.
Я активировал Google Places Api для Android и создал ключ браузера и когда я вызываю api получить ошибку в ответ -
{"error_message" : "This API project is not authorized to use this API.Please ensure that this API is activated in the APIs Console: Learn more: https://code.google.com/apis/console",
"html_attributions" : [],
"results" : [],
"status" : "REQUEST_DENIED"
}
Я также пытаюсь создать андроид-ключ, и он возвращается -
{
"error_message" : "This IP, site or mobile application is not authorized to use this API key.",
"html_attributions" : [],
"results" : [],
"status" : "REQUEST_DENIED"
}
Я не понимаю, в чем проблема в моем коде.
Любая помощь приветствуется. Спасибо заранее.
Проверить API-консоль -