Skip to content

Crash on android API 23 and below #1204

@05nelsonm

Description

@05nelsonm

Describe the bug
Crashes on Android API 23 and below as a result of logging behavioral changes in b8ea5ca

java.util.logger.Logger is not available on Android until API 24
java.util.function.Supplier usage is not available until API 24 (when android integrated Java 8 APIs)
The @FunctionalInterface annotation is also not an available API until Java 8, so usage of that would be out as well.

To Reproduce
Run in emulator API 23. Witness crash.

Expected behavior
Should not crash

Logs

Caused by: java.lang.NoClassDefFoundError: org.sqlite.core.NativeDB$$ExternalSyntheticLambda1
at org.sqlite.core.NativeDB.prepare(NativeDB.java:130)

https://github.com/toxicity-io/sqlite-mc/actions/runs/11482174680/job/31954575727?pr=127

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedreleasedIssue has been released

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions