I am new to Android Development. I am creating an app in Android Studio which requires mapping of the users’ locations. How do I incorporate OSM into my map on lines similar to the Google Map which you get after selecting the Maps activity in Android Studio?
There are various libraries around, some of which offer “drop-in replacement” for Google Maps in Android apps. A quick web search finds https://duckduckgo.com/html?q=replace%20maps%20in%20android and although some of those are quite old the libraries (mapsforge, osmdroid) are still around and still probably the answer to your question. See also e.g. https://wiki.openstreetmap.org/wiki/Mapsforge in the OSM wiki.