Search code examples
androidandroid-studioerror-handlingdirections

Android app: This IP, site or mobile application is not authorized to use this API key


In my app I need to calculate and to display the route to a specified location. All work perfect on debug mode, but on release mode the route can't be calculated and get the next error message:

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

I need to get a payed plan to can do that? Isn't to clear for me when read the documentation from google website.

Any idea how to fix my problem?


Solution

  • You need to use billing plan for release, but for introduce your app in console you must add release and debug keystore as well