Skip to content

Commit 744016f

Browse files
committed
try to fix Android build take 3
1 parent 84d242a commit 744016f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/test-e2e.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ function run() {
1919
const workers = multi ? 3 : 1;
2020

2121
if (platform === 'android') {
22-
exec.execSync(`yes | /usr/local/share/android-sdk/tools/bin/sdkmanager --licenses`);
22+
const sdkmanager = '/usr/local/share/android-sdk/tools/bin/sdkmanager';
23+
exec.execSync(`${sdkmanager} --update && yes | ${sdkmanager} --licenses`);
2324
}
2425

2526
if (!skipBuild) {

0 commit comments

Comments
 (0)