Passing Android SDK at Runtime in HyperExecute Job

How do I pass the Android SDK at the run time while running the HyperExecute job?

1 Like

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.