반응형
출처: 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"/>
반응형