You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7772221
Browse filesBrowse the repository at this point in the historyBrowse files
fix(tutorials): include MapWithMarker in root build and update Gradle config (#2458)
Include :tutorials:java:MapWithMarker and :tutorials:kotlin:MapWithMarker in settings.gradle.kts, the build-tutorials CI job, and verify_all.sh. Update both app/build.gradle.kts files to use the root version catalog, proguard-android-optimize.txt, AndroidX test runner, and Java 17 compileOptions, and refresh the tutorial READMEs.
Copy file name to clipboardExpand all lines: tutorials/java/MapWithMarker/README.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,25 +7,32 @@ This sample goes hand in hand with a tutorial for the Google Maps Android API:
7
7
Prerequisites
8
8
--------------
9
9
10
-
- Android API level 21+
10
+
- Android API level 24+
11
11
- Latest Android Build Tools
12
12
- Google Repository
13
13
- Google Play Services
14
14
15
15
Getting started
16
16
---------------
17
17
18
-
This sample uses the Gradle build system.
18
+
This sample uses the Gradle build system and is part of the root `android-samples` Gradle build.
19
19
20
20
1. Download the samples by cloning this repository or downloading an archived
21
21
snapshot. (See the options at the top of the page.)
22
-
1. In Android Studio, use "Openan existing Android Studio project". Next select the
23
-
`tutorials/java/MapWithMarker` directory that you downloaded
24
-
1.If prompted for a gradle configuration, accept the default settings.
25
-
Alternatively use the `gradlew build` command to build the project directly.
22
+
1. In Android Studio, select "Open" (or "Open an existing Android Studio project") and choose the
23
+
root `android-samples` directory that you downloaded.
24
+
1.Select the `tutorials.java.MapWithMarker` run configuration in Android Studio, or build the
25
+
module from the root of this repository using Gradle.
26
26
27
27
This demo app requires that you add your own Google Maps API key. See [Get an API key](https://developers.google.com/maps/documentation/android-sdk/get-api-key) for more instructions.
28
28
29
+
From the root of this repository, add your key to `secrets.properties` (see
30
+
`local.defaults.properties` for the format) and run:
Copy file name to clipboardExpand all lines: tutorials/kotlin/MapWithMarker/README.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ This sample goes hand in hand with a tutorial for the Google Maps Android API:
7
7
Prerequisites
8
8
--------------
9
9
10
-
- Android API level 21+
10
+
- Android API level 24+
11
11
- Latest Android Build Tools
12
12
- Android Support Repository
13
13
- Google Repository
@@ -16,17 +16,24 @@ Prerequisites
16
16
Getting started
17
17
---------------
18
18
19
-
This sample uses the Gradle build system.
19
+
This sample uses the Gradle build system and is part of the root `android-samples` Gradle build.
20
20
21
21
1. Download the samples by cloning this repository or downloading an archived
22
22
snapshot. (See the options at the top of the page.)
23
-
1. In Android Studio, use "Openan existing Android Studio project". Next select the
24
-
`tutorials/kotlin/MapWithMarker` directory that you downloaded
25
-
1.If prompted for a gradle configuration, accept the default settings.
26
-
Alternatively use the `gradlew build` command to build the project directly.
23
+
1. In Android Studio, select "Open" (or "Open an existing Android Studio project") and choose the
24
+
root `android-samples` directory that you downloaded.
25
+
1.Select the `tutorials.kotlin.MapWithMarker` run configuration in Android Studio, or build the
26
+
module from the root of this repository using Gradle.
27
27
28
28
This demo app requires that you add your own Google Maps API key. See [Get an API key](https://developers.google.com/maps/documentation/android-sdk/get-api-key) for more instructions.
29
29
30
+
From the root of this repository, add your key to `secrets.properties` (see
31
+
`local.defaults.properties` for the format) and run:
0 commit comments