I have this weird issue with GoogleMaps.
When I'm in debug mode, everything works fine, but when I'm in release mode, the onMapReady callback is never called, and a message about updating the Google Play services is displayed on the map.
Another strange thing: if I start activity when I launch the application using the map, it works even in other actions.
This is my code in the snippet
@Nullable @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { FrameLayout fr = (FrameLayout) inflater.inflate(R.layout.my_fragment, null);
Bronx source share