[Solved] Google Maps Marker giving a null reference on Android [duplicate]
Based on the logcat output that you have provided, the first thing you need to address is the fact that your mMap variable is null. My guess is that you’re either calling displayLocation() before the onMapReady(…) callback has fired, or your class isn’t equipped to handle the callback at all. If you’re using the Google … Read more