Карты Android: не удалось найти стиль mapViewStyle в текущей теме

Я пытаюсь использовать карты в своем приложении и получаю эту ошибку, Не удалось найти стиль mapViewStyle в текущей теме

. Я правильно сгенерировал ключ и испробовал все решения, предложенные для той же проблемы в других местах.

1.my target api and the one mentioned in the manifest file are the same.
2.There is no import.R in my project
3.I have cleaned my project.
4.Uses-library element is a child of the application.

Это мой xml-файл

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >

    <com.google.android.maps.MapView
        android:id="@+id/mapview1"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:clickable="true"
        android:apiKey="*****************" 
        android:enabled="true"
        />

</LinearLayout>

, а это мой соответствующий java-файл

package com.epidemicator.prototype;

import android.os.Bundle;
import com.google.android.maps.MapActivity;

public class Mapacti extends MapActivity {

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.mapview);
    }

    @Override
    protected boolean isRouteDisplayed() {
        // TODO Auto-generated method stub
        return false;
    }
}

пожалуйста, помогите мне здесь ... благодаря.

6
задан Ajay 26 February 2012 в 18:58
поделиться