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.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 ![]() This section describes how to store your API key so that it can be securely referenced by In your module-level adle file, set compileSdk.Section of your module-level adle file, add a dependency t(RepositoriesMode.FAIL_ON_PROJECT_REPOS) Under the dependencyResolutionManagement block: Must appear before any other statements in the script. In your top-level adle file, include the. ![]() The Places SDK for Android library is available throughĪdd the SDK to your app, do the following:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |