Issue
I'm busy trying to get the MapView included in my Android project. I'm following the MapView tutorial on the Android developer website but I'm getting an error:
'MapActivity cannot be resolved to a type'
I tried pressing Ctrl+Shift+O to auto import all classes but it's not helping. When I try to include the Maps libary manually it gives this error:
'The import com.google.android cannot be resolved'
I have added the following line (see below) to the Manifest and my target is API 7 (Platform: 2.1).
<uses-library android:name="com.google.android.maps" />
What am I doing wrong?
Thanks!!!
Solution
Google API is a third party SDK. Choose third party in packages manager.
Answered By - TheJohnny
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.