Sfoglia il codice sorgente

Try to fix android build

Guy Carmeli 6 anni fa
parent
commit
d8577ca914
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4
    0
      scripts/test-e2e.js

+ 4
- 0
scripts/test-e2e.js Vedi File

@@ -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}`);