My current wokspace setup looks like this:
However, people have told me that to get maps working, I also need to have "google-play-services_lib.jar" in my "Android Dependencies" folder, and the way to do that was through doing: "to Google Play Services into your project Project -> Properties -> Android -> Library, Add -> google-play-services_lib"
The only problem with that is it always after the initial green marker, it turns to a red cross when re-opening "Project -> Properties -> Android -> Library" ...and also no "google-play-services_lib.jar" gets added to "Android Dependencies" in the prooject
This question is an off-spring of this: Trying to get maps v2 Android demo working where I was told above was necessary to get maps working in my app. (Otherwise one gets error during inflating the XML containing the maps fragment.)
First you need to delete your google-play-services project from your Package Explorer then you need to copy "google-play-service folder" from the directory C:/android-sdks.....google-play-service to your WORKSPACE then open Eclipse import the project "google-play-services" also from your WORKSPACE and then you can add the library...
Hope it helps:)
Have you tried to use
Google APIs
instead ofAndroid 4.2.2
? Using that will useGoogle Maps
dependencies.I just made a "working app" (it throws no errors but I was too lazy to make a key) using Google Maps v2 and not Google APIs as build but Android 4.1. This was my procedure.
com.google.android.gms.maps.MapFragment
.Please respond if you get any errors, if you do it right it will all work. Good luck.