Я изучаю Direction Api с этим учебным пособием.Я включил Direction API, и мое приложение ограничено отпечатком пальца SHA-1.Когда я пытаюсь увидеть ломаную линию, у меня появляется ошибка:
2019-04-07 17:09:42.991 29943-30014/com.example.directiontest D/mylog: Downloaded URL: { "error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address //there is my ip address//, with empty referer", "routes" : [], "status" : "REQUEST_DENIED"}
2019-04-07 17:09:42.991 29943-30014/com.example.directiontest D/mylog: Background task data { "error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address //there is my ip address//, with empty referer", "routes" : [], "status" : "REQUEST_DENIED"}
2019-04-07 17:09:42.994 29943-30016/com.example.directiontest D/mylog: { "error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address //there is my ip address//, with empty referer", "routes" : [], "status" : "REQUEST_DENIED"}
2019-04-07 17:09:42.995 29943-30016/com.example.directiontest D/mylog: com.example.directiontest.DataParser@11a2659
2019-04-07 17:09:42.995 29943-30016/com.example.directiontest D/mylog: Executing routes
2019-04-07 17:09:42.995 29943-30016/com.example.directiontest D/mylog: []
2019-04-07 17:09:42.996 29943-29943/com.example.directiontest D/mylog: without Polylines drawn