We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c33f579 commit f8096feCopy full SHA for f8096fe
1 file changed
.maestro/scripts/setup-android-emulator.sh
@@ -20,6 +20,11 @@ if [ -z "$ANDROID_HOME" ]; then
20
exit 1
21
fi
22
23
+# Ensure avdmanager and emulator use the same AVD directory regardless of
24
+# what ANDROID_SDK_HOME is set to on the host (e.g. GitHub Actions runners).
25
+export ANDROID_AVD_HOME="$HOME/.android/avd"
26
+mkdir -p "$ANDROID_AVD_HOME"
27
+
28
for tool in sdkmanager avdmanager emulator adb; do
29
if ! command -v "$tool" &>/dev/null; then
30
echo "Error: '$tool' not found. Ensure Android SDK tools are installed and in PATH."
0 commit comments