Skip to content

New objenesis version excludes 60% of android devices #691

Closed
@Erhannis

Description

The version increase of objenesis to 3.0.1, in kryo 5.0.0-RC3, yields the following error in my Android project:

MethodHandle.invoke and MethodHandle.invokeExact are only supported starting with Android O (--min-api 26)

By the numbers at https://developer.android.com/about/dashboards, only ~40% of devices are at API 26 and above, as of May 2019. (Some of the devices, like mine, have no system updates available, and likely never will.) Requiring your users to drop 60% of THEIR users seems like a good way to lock people into an old version of your library (and also I'd prefer I didn't get locked into an old version of your library on my own projects).

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions