내 응용 프로그램에서 그 목적을 위해 Google지도 API에 액세스하고 싶습니다. com.google.android.maps.MapView를 사용했지만 예외없이 실행중인 앱은 불행히도 여기로드되지 않았습니다. 내 시도 코드를 첨부했습니다.Google지도가 내 앱에서 작동하지 않습니다
map.xml
> <?xml version="1.0" encoding="utf-8"?> <RelativeLayout
> xmlns:android="http://schemas.android.com/apk/res/android"
> android:layout_width="match_parent"
> android:layout_height="match_parent">
> <com.google.android.maps.MapView android:id="@+id/kioskMapView"
> android:layout_width="fill_parent"
> android:layout_height="fill_parent" android:enabled="true"
> android:clickable="true"
> android:apiKey="AIzaSyAND7gp2wVtfHwkyEAC6UgiYULyIAqpc0I" />
> </RelativeLayout>
클래스 이름 MapViewingActivity.java
public class MapViewingActivity extends MapActivity { GoogleMap
> map; private GoogleMap mapView; // @SuppressLint("NewApi")
> @Override protected void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.map);
>
> }
>
>
>
>
>
> @Override protected boolean isRouteDisplayed() { // TODO
> Auto-generated method stub return false; } }