Skip to content

Warning XA0033 (Invalid java version) for openjdk version "21.0.13.0.2" 2026-10-22 LTS #13445

Closed

Description

@duckblaster

Android framework version

net10.0-android

Affected platform version

.NET 10.0.403

Description

Microsoft.Android.Sdk.Tooling doesn't like the 5 part version number.
See also microsoft/openjdk#687 (comment)

Steps to Reproduce

  1. File > New Project > New Android Application
  2. Try to build the app and get the warning.

Did you find any workaround?

No response

Relevant log output

C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\36.1.118\targets\Microsoft.Android.Sdk.Tooling.targets(22,5): warning XA0033:
      Failed to get the Java SDK version because the returned value does not appear to contain a valid version number. `java.exe -version` returned: 
          openjdk version "21.0.13.0.2" 2026-10-22 LTS
          OpenJDK Runtime Environment Microsoft-15780113 (build 21.0.13.0.2+1-LTS)
          OpenJDK 64-Bit Server VM Microsoft-15780113 (build 21.0.13.0.2+1-LTS, mixed mode, sharing)

Activity

  1. added
    Area: App+Library Build
    needs-triage
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: App+Library Buildneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions