I tried to put the user agent (cf https://github.com/osmdroid/osmdroid/wiki/Important-notes-on-using-osmdroid-in-your-app), but when I put the line OpenStreetMapTileProviderConstants.setUserAgentValue(BuildConfig.APPLICATION_ID);
Android studio is telling me that setUserAgentValue is depreciated.
What can I do to solve that ? For now when I run the app I have a grid with no map.
Thanks you very much in advance !