-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to install older command-line tools, always latest
is downloaded
#86
Comments
Pretty sure the sdk auto-updates itself, so even if you install an old version - it would automatically install current latest one. You probably already know, but just in case - Java 8 reached end-of-life in 2022. |
Disabling auto update sounds like a good escape hatch. As for JDK 8 being EOL - I'm aware of it, unfortunately our product has it as min supported version so there's that. I need to make sure our CLI works fine on it. |
Is it possible for you to submit a fix? Happy to review, merge and release. |
I wish I had time to do that... :-( Thanks again for building and open-sourcing this action. |
I think it's a bit easier to specify the version of cmdline-tools:
Reason being is emulator action depends on SDK install and requires cmdline-tools package installed, so the action autoinstalls this as part of installation of emulator dependencies. I took a quick pass at it in #87, would be awesome if you could take a look You can use it from release branch
and the same thing with the emulator in case you need that one. I didn't test it, would appreciate your help there. You need to figure out which version of As a sidenote: let me know if you want to help with MarathonLabs/marathon#855 at some point in the future since you might have the power to help there. |
Thanks a ton, I will try it out. There's quite a lot of changes in #87 so I didn't look at it closely.
Per my research here, v8.0 of cmdline-tools is the latest one that supports Java 8. For Linux, it can be downloaded from: https://dl.google.com/android/repository/commandlinetools-linux-9123335_latest.zip
This is currently not on our roadmap and we don't have resources. I'll keep that in mind though! |
@Malinskiy I tested your branch and it failed with the following error |
Also, why additional |
In the end I decided to manually download Android SDK and create AVD. If anyone's curious, here's the code: |
I need to install Command-Line Tools v8, the last version comaptible with Java 8.
I found the right URL, but even when I pass it, I still get command-line tools
latest
, which require JDK17:see workflow run: https://github.com/mobile-dev-inc/maestro/actions/runs/10221637495/job/28284879896?pr=1837
The text was updated successfully, but these errors were encountered: