How can I create an Android application in Android Studio that uses the Google Maps Api v2?

后端 未结 7 1512
暗喜
暗喜 2020-11-27 10:01

I\'ve been having a lot of trouble in Android Studio trying to create an app with GoogleMap.

I have followed the following guide before with (almost) no issues usin

7条回答
  •  有刺的猬
    2020-11-27 10:50

    I had a similar problem, but it was just that it couldn't find the com.google.android.gms.maps package (it kept on saying it did not exist). This was after I imported everything (seemingly) properly by following the migration tutorial on Google's own docs: http://developer.android.com/sdk/installing/migrate.html

    Anyway, after importing everything, I still had the issue and wasn't sure how to set the build path (or the non-eclipse equivalent).

    I just had to follow half of your tutorial below, remove the google-play-services library which was already listed in the module settings window, then add it again.

    I hope this is useful to someone else.

提交回复
热议问题