简体   繁体   中英

Request Denied when request Direction API ANDROID

I want make a route in maps, so i use Direction API from google maps, but i always get REQUEST DENIED & This IP, site or mobile application is not authorized to use this API key.

I already change to none restriction, and already make the new project, but got same response, so what is the problem ?

i use this library https://github.com/akexorcist/Android-GoogleDirectionLibrary Thanks.

This is the log message

这是日志消息

This answer seems fitting:

"This IP, site or mobile application is not authorized to use this API key"

https://stackoverflow.com/a/24235630/5644761

The API key is restricted to some IP and the one you are connecting with is not white listed you need to add it into the console , select the API key then add the IP adresse . 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM