2014-04-21 3 views
1

내가지도 프로젝트를 시작 매핑하고 내가 오류구글은 안드로이드 v2를

<?xml version="1.0" encoding="utf-8"?> 
<fragment xmlns:android="http://schemas.android.com/apk/res/android" 
     android:id="@+id/map" 
     android:layout_width="match_parent" 
     android:layout_height="match_parent" 
     android:name="com.google.android.gms.maps.MapFragment"/> 

오류

[2014-04-21 06:32:21 - appcompat_v7_3] WARNING: unable to write jarlist cache file C:\Users\Umer Mir\workspace\appcompat_v7_3\bin\jarlist.cache 
[2014-04-21 07:14:23 - google-play-services_lib] Unable to resolve target 'android-9' 
[2014-04-21 07:14:26 - google-play-services_lib] Unable to resolve target 'android-9' 
[2014-04-21 07:45:30 - Mapsproject] Error in an XML file: aborting build. 
[2014-04-21 07:45:41 - Mapsproject] Error in an XML file: aborting build. 
+0

매니페스트의 최소 API 레벨은 무엇입니까? – Kedarnath

+1

[Google Play 서비스 라이브러리 참조하기] (http://stackoverflow.com/questions/15902222/referencing-the-google-play-services-library) –

+1

프로젝트 ---> 마우스 오른쪽 버튼 클릭 -> Properites -> Android -> Google API 버전 선택 -> 확인 –

답변

0

변화를 가지고이 코드를 추가 할 때 https://developers.google.com/maps/documentation/android/start#getting_the_google_maps_android_api_v2

의 명령을 다음과 당신의 Android 타겟 android-8은 (는) 다른 사용자에게 표시됩니다.

Your Project--->Right Click-->Properites-->Android-->Select Google API 15(whatever you have)-->

또는

안드로이드 매니페스트 파일이 추가.

<uses-sdk 
     android:minSdkVersion="8" 
     android:targetSdkVersion="15" /> 

대상 SDK를 추가 할 수는 있지만 Google API이어야합니다.

관련 문제