I have a google map in a fragment in my application. Funny thing is that the map loads, but the logcat displays a NullPointerException
google map
fragment
NullPointerException
MainActivity.xml :
MainActivity.java :
Private GoogleMap GoogleMap; googleMap = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map)).getMap();
Here's the permission:
And here's the metadata section:
...