|
@@ -34,12 +34,27 @@ nvm use stable
|
34
|
34
|
|
35
|
35
|
```
|
36
|
36
|
curl -o- -L https://yarnpkg.com/install.sh | bash
|
|
37
|
+export PATH=$PATH:$HOME/.yarn/bin
|
|
38
|
+```
|
|
39
|
+
|
|
40
|
+* Android SDK:
|
|
41
|
+
|
|
42
|
+```
|
|
43
|
+export ANDROID_HOME=$HOME/android-sdk-macosx
|
|
44
|
+export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
|
|
45
|
+
|
|
46
|
+# fix for https://code.google.com/p/android/issues/detail?id=223424
|
|
47
|
+mkdir -p ~/.android
|
|
48
|
+
|
|
49
|
+# download android SDK
|
|
50
|
+echo "Downloading Android SDK"
|
|
51
|
+curl --location https://dl.google.com/android/android-sdk_r24.4.1-macosx.zip | tar -x -z -C $HOME
|
37
|
52
|
```
|
38
|
53
|
|
39
|
|
-* Android SDK
|
40
|
54
|
* fbsimctl:
|
41
|
55
|
|
42
|
56
|
```
|
|
57
|
+export CODE_SIGNING_REQUIRED=NO
|
43
|
58
|
brew tap facebook/fb && brew install fbsimctl
|
44
|
59
|
```
|
45
|
60
|
|