import com.google.maps.android.MarkerManager;
import com.google.maps.android.clustering.algo.Algorithm;
import com.google.maps.android.clustering.algo.NonHierarchicalDistanceBasedAlgorithm;
import com.google.maps.android.clustering.algo.PreCachingAlgorithmDecorator;
import com.google.maps.android.clustering.view.ClusterRenderer;
import com.google.maps.android.clustering.view.DefaultClusterRenderer;
i am getting a error that maps is undefined. i am following the google guide to set up marker clustering. https://developers.google.com/maps/documentation/android-api/utility/marker-clustering
compile 'com.google.maps.android:android-maps-utils:0.4+'to yourbuild.gradlecom.google.android.gms:play-services-maps:8.4.0butcompile 'com.google.maps.android:android-maps-utils:0.4+'is also needed as marker clustering is a funcionality of the Google Maps API Utility Library (developers.google.com/maps/documentation/android-api/utility)