Skip to content

uraniborg/s/p/automate_observation.py Updated copyright year and bug …#3

Merged
billy-lau merged 1 commit intoandroid:mainfrom
billy-lau:bug-fix/account-for-missing-prebuilt-dir
May 11, 2026
Merged

uraniborg/s/p/automate_observation.py Updated copyright year and bug …#3
billy-lau merged 1 commit intoandroid:mainfrom
billy-lau:bug-fix/account-for-missing-prebuilt-dir

Conversation

@billy-lau
Copy link
Copy Markdown
Member

…fix.

Fix a bug that was introduced when prebuilt binaries were removed, and the directory that the script relied on to create symlinks is now gone.

Also made sure that the Android SDK's location is known and exists before proceeding to call gradle to build Hubble APK.

Change-Id: Ia37be790e26ff352635215fd211447f8ebc0bdd3

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces an ensure_android_sdk function to automate Android SDK detection and configuration, updates the copyright year, and ensures symlink directories are created. Feedback focuses on increasing the robustness of the SDK detection logic by validating paths, improving the parsing and writing of local.properties to handle whitespace and missing newlines, and advising against interactive input to ensure compatibility with CI/CD environments.

Comment thread uraniborg/scripts/python/automate_observation.py
Comment thread uraniborg/scripts/python/automate_observation.py
Comment thread uraniborg/scripts/python/automate_observation.py Outdated
Comment thread uraniborg/scripts/python/automate_observation.py Outdated
…fix.

Fix a bug that was introduced when prebuilt binaries were removed, and
the directory that the script relied on to create symlinks is now gone.

Also made sure that the Android SDK's location is known and exists
before proceeding to call gradle to build Hubble APK.

Change-Id: Ia385e790e26ff352635215fd211447f8f6acaca4
@billy-lau billy-lau force-pushed the bug-fix/account-for-missing-prebuilt-dir branch from 1337133 to 1337133 Compare May 11, 2026 14:34
@billy-lau billy-lau merged commit 532cb91 into android:main May 11, 2026
2 checks passed
@billy-lau billy-lau deleted the bug-fix/account-for-missing-prebuilt-dir branch May 11, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant