ActionBarSherlock with Google map and fragment

view full story

http://stackoverflow.com – I am trying to compile this example: http://blog.xavirigau.com/?p=39#comment-1075 I am using: android-support-v4-googlemaps ActionBarSherlock-Plugin-Maps v.4.0 http://actionbarsherlock.com/ v.4.2 I have returned this error: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xrigau.mapsfragments/com.xrigau.mapsfragments.MapswithfragmentsActivity}: java.lang.IllegalArgumentException: MapViews can only be created inside instances of MapActivity. at this line: Exchanger.mMapView = new MapView(this, "INSERT_YOUR_MAP_API_KEY_HERE"); Can you help me to resolve this prob (HowTos)