Issue with Google Maps Android Api v2

前端 未结 2 1540
没有蜡笔的小新
没有蜡笔的小新 2021-01-26 09:13

I have been trying to implement a sample application in order to study the working of Google maps API. I have been struck with the configuration itself. I can\'t seem to run the

相关标签:
2条回答
  • 2021-01-26 09:55

    It looks like it's not finding the Google Maps classes at runtime. Are you running this on a device or an emulator because you can't use Google Maps v2 on an emulator at this time.

    If you are running on a device then make sure you have Google Play Services installed. It contains the runtime for Google Maps v2.

    0 讨论(0)
  • 2021-01-26 10:17

    Solved my Problem. The issue occurred because even though I i referenced the google play library, The reference is not considered by eclipse and it was shown by a cross mark. I have resolved that with the help of the following stackoverflow post:-

    In eclipse, unable to reference an android library project in another android project

    0 讨论(0)
提交回复
热议问题