Search code examples
androidandroid-studiogoogle-maps-api-2android-maps-utils

How to set up Google Maps Utility Api in Android Studio?


I don't know why couldn't i figure it out. I am trying to add the android_maps-utils library in the android studio.I have seen this link which was suggested by google developers blog.But i couldn't understand the way they suggested.

Can anyone give me step by step instruction to use android-maps-utils as library in Android Studio?? I have been stuck for two days. Thanks in advance.


Solution

  • Have you already fixed the more than one package name problem? If yes, omitted the followings.

    I saw that in your "dependencies" element, you have compile project(':library') and compile('com.google.maps.android:android-maps-utils:0.3.4'). Is the :library the google maps utility library? If yes, then you add google maps utility dependency twice which leads to the problem.