Error java.lang.ClassNotFoundException: com.google.android.gms.maps.MapFragment in Google Map V2

You problem is the way you added google-play-services to your project:

I have copied the google-play-services.jar in libs folder and set in the build path of eclipse.

This is wrong!
Read the first 3 steps of this blog post I wrote to get an idea of how to do it correctly:

Google Maps API V2

In short, you should import google-play-services as a project in your workspace.
and then reference it from your project.

this should be the result:

enter image description here

Leave a Comment