Browse Source

ImageViewer sample, map API key instructions (#2937)

pull/2941/head
dima.avdeev 2 years ago committed by GitHub
parent
commit
89b73aa6ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      experimental/examples/imageviewer/README.md

8
experimental/examples/imageviewer/README.md

@ -29,7 +29,7 @@ Then choose **iosApp** configuration in IDE and run it.
### Running Android application ### Running Android application
- Get a [Google Maps API key](https://developers.google.com/maps/documentation/android-sdk/get-api-key) - Get a [Google Maps API key](https://developers.google.com/maps/documentation/android-sdk/get-api-key)
- Add to local.properties: `sdk.dir=YOUR_SDK_PATH` - Add to `local.properties` file located in the root directory (create if it doesn't exist):
- Create a file in the root directory named `local.properties` with a single line that looks like - `MAPS_API_KEY=YOUR_KEY` where `YOUR_KEY` is your key from previous step;
this, replacing YOUR_KEY with the key from step 1: `MAPS_API_KEY=YOUR_KEY` - `sdk.dir=YOUR_SDK_PATH` where `YOUR_SDK_PATH` is a path to Android SDK in your system.
- Open project in IntelliJ IDEA or Android Studio and run "android" configuration. - Open project in IntelliJ IDEA or Android Studio and run `androidApp` configuration.

Loading…
Cancel
Save