The reference to the MapSnapshotter needs to be held for the duration of the snapshot, otherwise it might be GC'd
Mapbox GL Test App
Building
To be able to run any Gradle commands, you'll need to create the configuration file by running
$ make android-configuration
from the root folder.