matt hall
matt hall

Reputation: 13

the import com.google.maps cannot be resolved (clustering.Cluster)

I am trying to use clustering in my application. However on the import statements I get 'the import com.google.maps cannot be resolved (clustering.Cluster).

Also, when using ClusterManager I get 'cannot be resolved to a type'.

The rest of the google play services are working fine.

Upvotes: 1

Views: 2034

Answers (1)

alpinescrambler
alpinescrambler

Reputation: 1954

Are you using Android Studio, or Eclipse? Might need to check your gradle file (Android Studio for example) to see if you have the library/module dependencies lined up. If you are using this library (https://github.com/googlemaps/android-maps-utils) for example, your gradle file should have something like :

    dependencies {
    compile 'com.google.maps.android:android-maps-utils:0.3+'
}

Upvotes: 4

Related Questions