Skip to content

How to mobile-install a desugared app that has JDK 21 dependencies? #510

@IndiTheo

Description

@IndiTheo

I'm building an app that depends on a library specifically built for JVM 21. As the java tools use JDK 17, there's an error from DesugarDexSharding:

Error: java.lang.IllegalArgumentException: Unsupported class file major version 65

What's the recommended way to deal with this, and what will be the eventual fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions