Have you tried using Google APIs instead of Android 4.2.2 ? Using this, Google Maps dependencies will be used.
I just created a "working application" (it does not contain errors, but I was too lazy to make a key) using Google Maps v2, not the Google API as a compilation, but Android 4.1. That was my procedure.
- Download the library from the SDK download manager.
- I copied the folder "google-play-services_lib" that had this path "... / android-sdk / extras / google / google_play_services / libproject / google-play-services_lib" to another folder where I store my libraries.
- In Eclipse, I selected New Project - Android Project from existing code. It was imported without any problems.
- Right-click the test project, select "Properties" - "Android" - "Add" - google-play-services_lib, which is now in my workspace.
- See if this works with the subclass
com.google.android.gms.maps.MapFragment .
Please answer if you get any errors, if you do it right, everything will work. Good luck.
source share