Issue
I've not seen mapview in the Palette when working with a layout in my ADT. I've searched all the categories. Where is it?
I've tried putting in the XML code directly into the layout file but I'm not seeing:
Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layout to choose a different layout, or fix the theme style references.
Failed to find style 'mapViewStyle' in current theme
Am I supposed to import some extra libraries somehow?
My project is set to target Google APIs level 15.
Solution
Google Maps v1, which had a MapView in the Palette, has been deprecated in favor of Google Maps v2, which does require you to import the Google Play Services Library.
The Google Maps v2 Overview has details on how to get started using Maps v2.
Answered By - ianhanniballake
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.