Error On Import Com.google.android.maps.mapactivity
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up can't import com.google.android.maps.MapView up vote 6 down vote favorite Unfortunately after a long day searching I couldn't find anything useful for me. My Problem is that I couldn't use "extend MapActivity" or rather import the libary. I tried to use "Google API" insted of "Android API" like recomended in some other threads but the problem is that I have no "Google API" in my SDK Manager to download or choose. My Android SDK Manager So, I have in my "Android SDK Manager" just the Android Apis from "Android 1.5 (API 3)" to "Android 4.0.3 (API 15)" and no "Google API". Here is an example where the "Google API" is available inside the "Android 4.0.3 (API 15)" Installing the Google APIs... Is there any posibility to download or import the "Google API" in a different way or am I doing something wrong? java android eclipse eclipse-plugin maps share|improve this question edited Aug 30 '12 at 4:20 Templar 2,91972536 asked Mar 30 '12 at 21:00 Yves 75111524 Go to properties of your project and then on separator Android choose Google API's for your current platform. Hope this helps you –Pedro Romao Apr 17 '13 at 16:31 add a comment| 2 Answers 2 active oldest votes up vote 12 down vote I had the same problem with a different solution, I right clicked on my project in the Package Exploere and selected "Build Path->Configure Build Path" Selected "Java Build Path" and the "Libraries" tab Selected "Add External Jar" Navigated to my sdk/add-ons/addon-google_apis_google_inc_-/libs Selected "maps.jar" I was then able to import com.google.maps.* share|improve th
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like http://stackoverflow.com/questions/9950344/cant-import-com-google-android-maps-mapview you, helping each other. Join them; it only takes a minute: Sign up android - how to import com.google.android.maps.MapActivity? up vote 1 down vote favorite I am trying to get google maps to work in my android project. I have already got the md5 key and signed up with google to get the api key, but now http://stackoverflow.com/questions/11300932/android-how-to-import-com-google-android-maps-mapactivity when i am trying to display the map, I get an error when importing it. "com.google" has the sqiqly red line under it. Can anyone help? Thanks this is my xml file: (note: i replaced the key with 'my_key' since i didnt want to make it public)
here for a quick overview of the site Help Center Detailed answers to any questions you http://stackoverflow.com/questions/30233332/cannot-import-com-google-android-maps-mapview might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 error on million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cannot import com.google.android.maps.MapView up vote 1 down vote favorite I wanna import com.google.android.maps.MapView to my project in Android studio, but it prompt an error which is "Cannot resolve symbol 'maps'". class MapOverlay extends com.google.android.maps.Overlay { .... } error on import How to solve it? Thanks android google-maps android-studio share|improve this question asked May 14 '15 at 9:05 chemat92 1111310 1 why don't you use the latest version of google maps? –King May 14 '15 at 9:06 @DroidWorm Narendra, what is the latest version of google maps ? Thanks. I am new to android development –chemat92 May 14 '15 at 9:08 Check out : developers.google.com/maps/documentation/android –Haresh Chhelana May 14 '15 at 9:08 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote change compile 'com.google.android.gms:play-services:5.+' in your build.gradle to compile 'com.google.android.gms:play-services:6.1.11' or you could just use: SupportMapFragment here is a good example: http://www.truiton.com/2013/05/android-supportmapfragment-example/ share|improve this answer answered May 14 '15 at 9:13 Ahmad Alsanie 1,9392530 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a g