'Map is not showing using osmdroid ver 6.1.11 Custom XYTileSource in Android 10

I used a custom XYTileSource to display a local map in Android 8 and its working, but the map is not showing when I tried it in Android 10.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source