Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c090bb

Browse files
Codex-tobrun
authored andcommitted
Add configuration steps to prevent circular reference at compile time. (#66)
1 parent bad7dd4 commit 9c090bb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Following examples use Mapbox vector tiles, which require a Mapbox account and a
1515
- Create a `local.properties` file with the following path: `$project_dir/android/local.properties`
1616
- Add `mapbox.accessToken="YOUR MAPBOX ACCESS TOKEN"`
1717
token to the **local.properties** file.
18-
18+
1919
#### Demo app
2020

2121
- Install [Flutter](https://flutter.io/get-started/) and validate its installation with `flutter doctor`
@@ -29,6 +29,11 @@ Following examples use Mapbox vector tiles, which require a Mapbox account and a
2929
- Add Mapbox dependency and read token value in Android module `build.gradle` file:
3030
```
3131
android {
32+
compileOptions {
33+
sourceCompatibility JavaVersion.VERSION_1_8
34+
targetCompatibility JavaVersion.VERSION_1_8
35+
}
36+
3237
defaultConfig {
3338
// ...
3439
def mapboxAccessToken = localProperties.getProperty('mapbox.accessToken')

0 commit comments

Comments
 (0)