Previously, the build script would skip Android builds entirely if
adb was not in PATH, even though adb is only needed for installing/
launching apps, not for building APKs.
Changes:
- Added find_android_sdk() function that automatically detects SDK
location via ANDROID_HOME, ANDROID_SDK_ROOT, existing local.properties,
or common default locations (macOS/Linux)
- Automatically creates/updates android/local.properties with detected
SDK location
- Removed early exit when adb not found - build now proceeds without adb
- Moved adb check to only when installing/launching apps (--run flags)
- Updated warning messages to clarify adb is only needed for install/launch
This allows developers to build APKs even when Android SDK platform-tools
are not in PATH, improving build script usability.