http://androidhuman.tistory.com/entry/Google-Maps-Android-API-v2-사용하기
위 주소에 있는 커니님이라는 분의 블로그를 보고서 구글맵 api v2를 이용해서 지도를 띄우는걸 하고있는데
manifest부분에 기본적인 권한이랑 meta-data로 api키값이랑 다 넣어주고
activity_main에
<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.MapFragment" />
이렇게 fragment를 넣었습니다.. 위 블로그에는 여기까지하면 지도를 띄우는게 가능하다고하여 여기까지 해봤는데
위 코드에서 fragment xmlns:android="http://schemas.android.com/apk/res/android" 이부분이 빨간줄이 뜨면서 오류가
납니다. 오류 내용은 Unexpected namespace prefix "xmlns" found for tag fragment 라고 뜨네요..
이걸 해결을 못하여 지도 띄우는것부터 막혀있습니다 좀 도와주세요..