How do I pass the Android SDK at the run time while running the HyperExecute job?
Hey Toby,
To pass the Android SDK at runtime while running the HyperExecute job, you can utilize the āruntimeā configuration in the YAML file. This configuration allows you to specify the language, version, and any necessary addons. In your case, for Android development in Java, you need to ensure that the Android SDK is properly configured.
Hereās an enhanced and more detailed version of your answer:
runtime:
language: java
version: 17
addons:
- name: "android-sdk"
version: "32"
In the provided YAML snippet:
- The
language
key is set to ājavaā to indicate that the project is written in Java. - The
version
key is set to ā17ā to specify the Java version. Make sure it aligns with the requirements of your Android project. - The
addons
section includes an entry for the āandroid-sdkā with a specific version (ā32ā). This ensures that the correct version of the Android SDK is available during the runtime of the HyperExecute job.
Make sure to adjust the Java version and Android SDK version based on the compatibility requirements of your project. This configuration will ensure that your HyperExecute job has the necessary dependencies to execute Android-related tasks successfully.
Your curiosity is welcome here! Thanks for asking, and please continue to reach out with any more questions.