mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
docs: Adding note about product flavors.
This commit is contained in:
parent
325cc756a2
commit
c26ca13366
@ -11,8 +11,7 @@ This app was written with a minSdk of 16 and the androidx appcompat library, but
|
||||
adapted to use native functionality instead (for example replacing `SupportMapFragment` with
|
||||
`MapFragment`).
|
||||
|
||||
The Maps SDK for Android samples can be found under the `gms` gradle product flavor, while the Maps
|
||||
SDK V3 BETA samples can be found under the `v3` gradle product flavor.
|
||||
The Maps SDK for Android samples can be found under the `gms` gradle product flavor, while the Maps SDK V3 BETA samples can be found under the `v3` gradle product flavor. The active product flavor can be modified through Android Studio’s “Build Variants” toolbar options.
|
||||
|
||||
Pre-requisites
|
||||
--------------
|
||||
@ -28,8 +27,7 @@ Getting Started
|
||||
|
||||
This sample use the Gradle build system.
|
||||
|
||||
First download the samples by cloning this repository or downloading an archived
|
||||
snapshot. (See the options at the top of the page.)
|
||||
First download the samples by cloning this repository or downloading an archived snapshot. (See the options at the top of the page.)
|
||||
|
||||
In Android Studio, use "Open an existing Android Studio project".
|
||||
Next select the `ApiDemos/java/` directory that you downloaded from this repository.
|
||||
|
||||
@ -6,7 +6,9 @@ They demonstrate most of the features available in the API.
|
||||
|
||||
This app was written for a minSdk of 15 and the v4 support library, but it can be easily adapted to
|
||||
use native functionality instead.
|
||||
(For example replacing ``SupportMapFragment`` with ``MapFragment``.)
|
||||
(For example replacing ``SupportMapFragment`` with ``MapFragment``).
|
||||
|
||||
The Maps SDK for Android samples can be found under the `gms` gradle product flavor, while the Maps SDK V3 BETA samples can be found under the `v3` gradle product flavor. The active product flavor can be modified through Android Studio’s “Build Variants” toolbar options.
|
||||
|
||||
Pre-requisites
|
||||
--------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user