After migrating to v4, we started observing that workflows using setup-android@v4 occasionally fail with the following error:
Run android-actions/setup-android@v4
Downloading commandline tools from https://dl.google.com/android/repository/commandlinetools-linux-14742923_latest.zip
node:internal/fs/promises:859
return await PromisePrototypeThen(
^
Error: EACCES: permission denied, mkdir '/opt/android-sdk-linux'
at async mkdir (node:internal/fs/promises:859:10) {
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path: '/opt/android-sdk-linux'
}
Node.js v24.16.0
The error doesn't happen every time, but it occurs quite frequently. We use self-hosted runners, but the issue seems to be Node-related.
After migrating to
v4, we started observing that workflows usingsetup-android@v4occasionally fail with the following error:The error doesn't happen every time, but it occurs quite frequently. We use self-hosted runners, but the issue seems to be Node-related.