I have a problem , I can use a MapView and I see the map correctly :
<com.google.android.gms.maps.MapView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
but when I use a MapFragment the app crash...Error inflating class fragment:
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.SupportMapFragment"/>
The main.java it's only :
public class situar_mapav3 extends android.support.v4.app.FragmentActivity{
public situar_mapav3() {
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
Any idea ? Thanks.