Skip to content

Commit 53715be

Browse files
fix: Add ANDROID_HOME auto-detection for self-hosted runner
- Auto-detect Android SDK at common locations (~\nAndroid/Sdk, ~/Library/Android/sdk) - Export ANDROID_HOME from detection step for use in subsequent steps - Add fallback ANDROID_HOME in build step - Better error messages for SDK detection failures - Ensures gradle can locate Android SDK on self-hosted runners This fixes the 'SDK location not found' error when running on self-hosted GitHub Actions runners that don't have ANDROID_HOME explicitly set in the shell environment.
1 parent 2e69290 commit 53715be

File tree

1 file changed

+258
-235
lines changed

1 file changed

+258
-235
lines changed

0 commit comments

Comments
 (0)