Java is a registered trademark of Oracle and/or its affiliates. ![]() For details, see the Google Developers Site Policies. Now that you have an API key, create and configure a project as described inĮxcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. allowed-application="sha1_fingerprint= SHA1_FINGERPRINT,package_name= ANDROID_PACKAGE_NAME" Gcloud alpha services api-keys update "projects/ PROJECT/keys/ KEY_ID" \ Gcloud services api-keys list -project=" PROJECT"Ĭlear existing restrictions on existing key. If you are using a physical device, but VisualGDB cannot find it, please follow this checklist to resolve the problem: Ensure that USB debugging is enabled on. If the Maps SDK for Android is not listed, you need to Select Maps SDK for Android from Select APIs dropdown.Enter your package name and SHA-1 certificate fingerprint.Click + Add package name and fingerprint.Under Key restrictions, set the following restrictions:.Select the API key that you want to set a restriction on.Or refer to the instructions for your build environment. If you manage your own signing key, see.The Android SDK tools generate this certificate when you run a release build.įor more information about Android application signing and certificates, see theįor instructions on how to find your signing certificate fingerprint, see the references below: Release certificate: Use this certificate when you're ready to release yourĪpp to an app store. ![]() The Android SDK tools generate this certificate automatically when you run a debug Asegura esta configuración en tu archivo /app/adle. y también debes habilitar Multidex para tu aplicación. Do not attempt to publish an app that's signed with a debugĬertificate. Dentro del archivo /app/adle para usar el SDK de Mercado Pago debes definir como minima la API 19: minSdkVersion 19. Debug certificate: Only use this certificate type with apps you're testingĪnd other non-production code.Signing key that was used to sign the application. When you restrict your API key, you must provide the SHA-1 certificate fingerprint of the When restricting an API key in the Cloud Console,Īpplication restrictions override any APIs enabled under API restrictions.įollow best practices by creating a separate API key for each app, and for each platform Restricting API keys adds security to your application by Google strongly recommends that you restrict your API keys by limiting their usage to those onlyĪPIs needed for your application. Note: You can use the same API key for your The new API key is listed on the Credentials page under API keys.Ĭloud SDK gcloud alpha services api-keys create \ The API key created dialog displays your newly created API key. On the Credentials page, click Create credentials > API key. From your Android Studio application toolbar, click SDK Manager. ![]() Go to the Google Maps Platform > Credentials page. From your Android Studio application toolbar, select Tools > Android > SDK Manager.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |