현재 테마에서 스타일 '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>
이며,이 내 해당 자바 파일
패키지 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;
}
}
여기에서 도와주세요 ... 감사합니다.
중복 된 http://stackoverflow.com/questions/6975203/android-google-maps-failed-to-find-style-mapviewstyle-in-current-theme? – dmon
dmon과 관련하여 본인이 참조하는 질문을보고 http://code.google.com/android/add-ons/google-apis/maps-overview.html#useslibrary를 확인하십시오. – dbryson