

For backwards compatibility, the API also Google Maps-based APIs on the Android platform, including the A key with this name can be used to authenticate to multiple In your AndroidManifest.xml file, go toĬom._KEY and update the android:value attributeĬom._KEY is the recommended metadata nameįor the API key.Open the local.properties in your project level directory, and then add theįollowing code.Next, open your module-level adle file and add the following code to the.Id '.crets-gradle-plugin' version '2.0.1' apply false In Android Studio, open your project-level adle file and add the followingĬode to the dependencies element under buildscript.

ANDROID STUDIO SDK USES INSTALL
To install the plugin and store your API key: To streamline this task, we recommend that you use the For more information about the local.properties file, see Storing it in the local.properties file, which is located in the root directory of your You should not check your API key into your version control system, so we recommend
ANDROID STUDIO SDK USES HOW TO
This section describes how to store your API key so that it can be securely referenced by
