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
Copy file name to clipboardExpand all lines: android/install.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,12 @@
1
1
# Android Installation
2
+
3
+
## If you are using autolinking feature introduced in React-Native `0.60.0` you can skip `react-native link react-native-mapbox-gl` command and just follow first paragraph
4
+
2
5
`react-native link` should get you almost there,
3
6
however we need to add some additional lines to `build.gradle`.
4
7
5
8
6
-
## `android/build.gradle`
9
+
## 1. `android/build.gradle`
7
10
We need to add an additional repository in order to get our dependencies.
8
11
9
12
*`https://jitpack.io`
@@ -42,7 +45,7 @@ however it never hurts to make sure it actually did what it was supposed to
42
45
---
43
46
44
47
45
-
## `android/app/build.gradle`
48
+
## 2. `android/app/build.gradle`
46
49
47
50
Add project under `dependencies`
48
51
@@ -60,7 +63,7 @@ You can set the Support Library version or the okhttp version if you use other m
60
63
*`okhttpVersion "3.12.1"`
61
64
62
65
63
-
## `android/app/settings.gradle`
66
+
## 3. `android/app/settings.gradle`
64
67
65
68
Include project, so gradle knows where to find the project
0 commit comments