Skip to content

Commit 7a4b5df

Browse files
authored
docs: updated the docs (#2352)
1 parent e4ea31a commit 7a4b5df

19 files changed

Lines changed: 22 additions & 18 deletions

File tree

ApiDemos/project/java-app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ dependencies {
8585

8686
secrets {
8787
// To add your Maps API key to this project:
88-
// 1. If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
88+
// 1. If the secrets.properties file does not exist, create it in the root directory (the same folder as the root local.properties file).
8989
// 2. Add this line, where YOUR_API_KEY is your API key:
9090
// MAPS_API_KEY=YOUR_API_KEY
9191
propertiesFileName = "secrets.properties"

ApiDemos/project/kotlin-app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ dependencies {
103103

104104
secrets {
105105
// To add your Maps API key to this project:
106-
// 1. If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
106+
// 1. If the secrets.properties file does not exist, create it in the root directory (the same folder as the root local.properties file).
107107
// 2. Add this line, where YOUR_API_KEY is your API key:
108108
// MAPS_API_KEY=YOUR_API_KEY
109109
propertiesFileName = "secrets.properties"

FireMarkers/app/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,10 @@ dependencies {
195195
}
196196

197197
secrets {
198+
// To add your Maps API key to this project:
199+
// 1. If the secrets.properties file does not exist, create it in the root directory (the same folder as the root local.properties file).
200+
// 2. Add this line, where YOUR_API_KEY is your API key:
201+
// MAPS_API_KEY=YOUR_API_KEY
198202
propertiesFileName = "secrets.properties"
199203
defaultPropertiesFileName = "local.defaults.properties"
200204
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To run the samples, you will need:
4141

4242
1. Download the samples by cloning this repository
4343
1. In the welcome screen of Android Studio, select "Open an Existing project"
44-
1. Select one of the sample directories from this repository
44+
1. Select the root directory of this repository (android-samples)
4545

4646
## Verifying the build
4747

WearOS/Wearable/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ dependencies {
8989

9090
secrets {
9191
// To add your Maps API key to this project:
92-
// 1. If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
92+
// 1. If the secrets.properties file does not exist, create it in the root directory (the same folder as the root local.properties file).
9393
// 2. Add this line, where YOUR_API_KEY is your API key:
9494
// MAPS_API_KEY=YOUR_API_KEY
9595
propertiesFileName = "secrets.properties"

snippets/app-compose/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ dependencies {
9393

9494
secrets {
9595
// To add your Maps API key to this project:
96-
// 1. If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
96+
// 1. If the secrets.properties file does not exist, create it in the root directory (the same folder as the root local.properties file).
9797
// 2. Add this line, where YOUR_API_KEY is your API key:
9898
// MAPS_API_KEY=YOUR_API_KEY
9999
propertiesFileName = "secrets.properties"

snippets/app-ktx/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ dependencies {
8787

8888
secrets {
8989
// To add your Maps API key to this project:
90-
// 1. If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
90+
// 1. If the secrets.properties file does not exist, create it in the root directory (the same folder as the root local.properties file).
9191
// 2. Add this line, where YOUR_API_KEY is your API key:
9292
// MAPS_API_KEY=YOUR_API_KEY
9393
propertiesFileName = "secrets.properties"

snippets/app-places-ktx/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ dependencies {
8888

8989
secrets {
9090
// To add your Maps API key to this project:
91-
// 1. If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
91+
// 1. If the secrets.properties file does not exist, create it in the root directory (the same folder as the root local.properties file).
9292
// 2. Add this line, where YOUR_API_KEY is your API key:
9393
// MAPS_API_KEY=YOUR_API_KEY
9494
propertiesFileName = "secrets.properties"

snippets/app-rx/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ dependencies {
9595

9696
secrets {
9797
// To add your Maps API key to this project:
98-
// 1. If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
98+
// 1. If the secrets.properties file does not exist, create it in the root directory (the same folder as the root local.properties file).
9999
// 2. Add this line, where YOUR_API_KEY is your API key:
100100
// MAPS_API_KEY=YOUR_API_KEY
101101
propertiesFileName = "secrets.properties"

snippets/app-utils-ktx/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ dependencies {
8787

8888
secrets {
8989
// To add your Maps API key to this project:
90-
// 1. If the secrets.properties file does not exist, create it in the same folder as the local.properties file.
90+
// 1. If the secrets.properties file does not exist, create it in the root directory (the same folder as the root local.properties file).
9191
// 2. Add this line, where YOUR_API_KEY is your API key:
9292
// MAPS_API_KEY=YOUR_API_KEY
9393
propertiesFileName = "secrets.properties"

0 commit comments

Comments
 (0)