You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's actually a bit more complicated, because some Android Command-line Tools (depended upon in the base image) versions have minimum Java requirement.
I didn't find a nice table with overview of what Android Command-line Tools require what Java – so I made some small research, and here's what I found:
Command-line Tools v8 is the last version to work with Java 8. v9+ requires Java 11+
Command-line Tools v10 is the last version to work on Java 11. v11+ requires Java 17+
Command-line Tools v16.0-alpha01 (latest as of now) still require Java 17+
Therefore, combinations of Command-line Tools with incompatible Java versions should be excluded. This means that Java version would determine version of Command-line Tools used:
ghcr.io/cirruslabs/android-sdk:*-jdk-8 would use CLT v8 (last supported on Java 8)
ghcr.io/cirruslabs/android-sdk:*-jdk-11 would use CLT v10 (last supported on Java 11)
ghcr.io/cirruslabs/android-sdk:*-jdk-17 would use CLT v13 (latest as of now; there are newer version of CLT but they're not stable. To see them yourself, see this)
Other
I don't see why someone would need both non-latest command-line tools and latest Java. On the other hand, I see why someone would need non-latest command-line tools and non-latest Java – for testing purposes (my use case - I have a CLI app that I need to make sure it works with Java 8).
The text was updated successfully, but these errors were encountered:
SGTM. Yeah, we can matrix by a tuple of JDK,CLT,system-images
bartekpacia
changed the title
Add more dimensions, such as JDK and Android OS system image)
Add more dimensions, such as JDK and Android OS system image
Aug 20, 2024
First of all – thanks for providing these.
In my use case, I need to run tests on many Android versions:
New tags
Current tag example:
ghcr.io/cirruslabs/android-sdk:34
New tags examples:
ghcr.io/cirruslabs/android-sdk:33
(also keep older SDKs)ghcr.io/cirruslabs/android-sdk:34-jdk-8
ghcr.io/cirruslabs/android-sdk:34-jdk-17
Problem
It's actually a bit more complicated, because some Android Command-line Tools (depended upon in the base image) versions have minimum Java requirement.
I didn't find a nice table with overview of what Android Command-line Tools require what Java – so I made some small research, and here's what I found:
btw, it's also hard to just download older versions of Command-line Tools in the first place.
Therefore, combinations of Command-line Tools with incompatible Java versions should be excluded. This means that Java version would determine version of Command-line Tools used:
ghcr.io/cirruslabs/android-sdk:*-jdk-8
would use CLT v8 (last supported on Java 8)ghcr.io/cirruslabs/android-sdk:*-jdk-11
would use CLT v10 (last supported on Java 11)ghcr.io/cirruslabs/android-sdk:*-jdk-17
would use CLT v13 (latest as of now; there are newer version of CLT but they're not stable. To see them yourself, see this)Other
I don't see why someone would need both non-latest command-line tools and latest Java. On the other hand, I see why someone would need non-latest command-line tools and non-latest Java – for testing purposes (my use case - I have a CLI app that I need to make sure it works with Java 8).
The text was updated successfully, but these errors were encountered: