삽으로 프로그래밍하기/Android
안드로이드 앱에서 구글 맵 키 넣는 방법
애콜라이트
2019. 9. 7. 22:42
반응형
출처: https://developers.google.com/maps/documentation/android-sdk/get-api-key?hl=ko
Get an API Key | Maps SDK for Android | Google Developers
New Users: Before you can start using the Google Maps Platform APIs and SDKs, you must sign up and create a billing account. To learn more, see Get Started with Google Maps Platform. To use the Maps SDK for Android you must have an API key. The API key is
developers.google.com
AndroidManifest.xml 파일에 다음 코드를 넣는다.
그리고 YOUR_API_KEY 부분을 발급받은 키로 바꾼다.
<meta-data android:name="com.google.android.geo.API_KEY" android:value="YOUR_API_KEY"/>
반응형