Browse Source

Split apart Android emulator setup steps

Jamon Holmgren 5 years ago
parent
commit
7e77cd5924
2 changed files with 26 additions and 3 deletions
  1. 10
    2
      .github/workflows/detox-android.yml
  2. 16
    1
      .vscode/settings.json

+ 10
- 2
.github/workflows/detox-android.yml View File

@@ -17,8 +17,16 @@ jobs:
17 17
           touch ~/.android/repositories.cfg
18 18
           sdkmanager --update
19 19
       - name: Setup - Install Android Platform tools
20
-        run: yes | sdkmanager "platform-tools" "platforms;android-28" "build-tools;28.0.3" "system-images;android-28;google_apis;x86" "emulator"
21
-      - name: Setup - Create New Android Emulator
20
+        run: yes | sdkmanager "platform-tools"
21
+      - name: Setup - Install Android 28
22
+        run: yes | sdkmanager "platforms;android-28"
23
+      - name: Setup - Install Android build tools 28.0.3
24
+        run: yes | sdkmanager "build-tools;28.0.3"
25
+      - name: Setup - Install Android Google APIs
26
+        run: yes | sdkmanager "system-images;android-28;google_apis;x86"
27
+      - name: Setup - Install Android emulator library
28
+        run: yes | sdkmanager "emulator"
29
+      - name: Setup - Install Android emulator
22 30
         run: avdmanager create avd -n test -k "system-images;android-28;google_apis;x86"
23 31
       - name: List Android Emulators
24 32
         run: emulator -list-avds

+ 16
- 1
.vscode/settings.json View File

@@ -5,5 +5,20 @@
5 5
     "javascriptreact",
6 6
     "typescript",
7 7
     "typescriptreact"
8
-  ]
8
+  ],
9
+  "workbench.colorCustomizations": {
10
+    "activityBar.background": "#6e6ff5",
11
+    "activityBar.foreground": "#e7e7e7",
12
+    "activityBar.inactiveForeground": "#e7e7e799",
13
+    "activityBarBadge.background": "#f9a6a6",
14
+    "activityBarBadge.foreground": "#15202b",
15
+    "titleBar.activeBackground": "#3e3ff2",
16
+    "titleBar.inactiveBackground": "#3e3ff299",
17
+    "titleBar.activeForeground": "#e7e7e7",
18
+    "titleBar.inactiveForeground": "#e7e7e799",
19
+    "statusBar.background": "#3e3ff2",
20
+    "statusBarItem.hoverBackground": "#6e6ff5",
21
+    "statusBar.foreground": "#e7e7e7"
22
+  },
23
+  "peacock.color": "#3e3ff2"
9 24
 }