Procházet zdrojové kódy

Try to fix android build

Guy Carmeli před 6 roky
rodič
revize
d8577ca914
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4
    0
      scripts/test-e2e.js

+ 4
- 0
scripts/test-e2e.js Zobrazit soubor

@@ -17,6 +17,10 @@ function run() {
17 17
     const cleanup = process.env.CI ? `--cleanup` : ``;
18 18
     const headless$ = android ? headless ? `--headless` : `` : ``;
19 19
     const workers = multi ? 3 : 1;
20
+    
21
+    if (platform === 'android') {
22
+        exec.execSync('yes | sdkmanager --licenses');
23
+    }
20 24
 
21 25
     if (!skipBuild) {
22 26
         exec.execSync(`detox build --configuration ${configuration}`);