Cannot Create Cluster Manager Instance( Using Google Maps Android API Utility Library)
Update:(Problem solved) FInally it is working in my Intellij Idea 13 The problem is that the library was not imported correctly. Go Project Structure, select Modules, add the libr
Solution 1:
The docs tell you to use:
compile 'com.google.maps.android:android-maps-utils:0.4+'
Using this will give the error. You must use android-maps-utils:0.4.2
compile 'com.google.maps.android:android-maps-utils:0.4.2'
This will get rid of the error.
note: i posted in another answer to use 0.3+, although 0.4.2 is obviously better. Either way, 0.4+ doesn't work and the others do
Solution 2:
The LogCat states
java.lang.NoClassDefFoundError: com.google.maps.android.clustering.ClusterManager
This means that the maps-utils-library is not added to your final APK. Did you add it as a library (Project properties > Android > Library)?
Post a Comment for "Cannot Create Cluster Manager Instance( Using Google Maps Android API Utility Library)"