I have just started working on a android project and is using the Google Map API.
I am able to fetch the map on my app but when i try to enable the current location with map.setMyLocationEnabled(true);
, the app says unfortunately app has stopped working.
When I removed the line map.setMyLocationEnabled(true);
then it worked fine. Can anyone please help me to get the current location button enabled.