안드로이드 개발 질문/답변
(글 수 45,052)
구글 맵 api key 질문입니다.
제가 기존 프로젝트에 구글 맵키를 받아서 사용을하고 있고요,,
또한 이 키로 구글 플레이스토어에 올려서 맵을 잘 사용하고 있습니다.
그런데...
똑같은 프로젝트를 rename 해서 새로운 프로젝트로 만들어서
맵키를 거기에 똑같이 사용을 했는데.. 사인하고 apk 만들어서 올리기 전에 테스트를 해보니
구글 맵이 바둑판처럼만 나오고 있습니다.
(바둑판 처럼 나오는데 위에는 제가 표현하고자 하는것은 떠 있구요...)
이런 경우에는 어떻게 해야 하는건가요?
<com.google.android.maps.MapView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mapview"
android:clickable="true"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:apiKey="0iojdlGO51ZkqCGBALmJUZsm6jdw" <<--== 제가 발급받은 맵키
>
</com.google.android.maps.MapView>
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mapview"
android:clickable="true"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:apiKey="0iojdlGO51ZkqCGBALmJUZsm6jdw" <<--== 제가 발급받은 맵키
>
</com.google.android.maps.MapView>
하나의 프로젝트에서는 되고 다른대서는 맵키가 안되는 경우입니다..
가르침 받습니다...
컴파일 할 때 사용하는 keystore가 동일한가요?
api key 발급 받으실 때 keystore를 사용했을텐데 그 설정부분이 다른게 아닌가 의심해봅니다.