Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.maps.MapFragment" on path: /data/app/com.example.nagivationalmapktm-1.apk
I've imported the GooglePlayServices and added it to my project, then also I'm getting this error. Please Help
if you are trying to use google map api v2 for the first time than...follow each and every step of below link carefully.
https://expertsview.wordpress.com/2013/07/05/google-maps-android-api-v2-quick-start-guide/
if you are trying to build on emulator than.. point 3 in above link might be usefull to you
3.Install a compatible version of the Google APIs platform.If you want to test your app on the emulator, expand the directory for Android 4.2.2 (API 17) or a higher version, select Google APIs, and install it. Then create a new AVD with Google APIs as the platform target.Note: Only Android 4.2.2 and higher versions of the Google APIs platform include Google Play services.
Its better to look all the points and setup a working new project.
You obviously don't have the fragment support library in you compile path. The map fragments needs the v4 compatibility library in the compile path. The map samples are a bear to get straight I followed these directions. http://developer.android.com/tools/support-library/setup.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.