Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: minSdkVersion should be 19 #167

Closed
anidotnet opened this issue May 14, 2019 · 0 comments
Closed

Documentation: minSdkVersion should be 19 #167

anidotnet opened this issue May 14, 2019 · 0 comments
Assignees
Milestone

Comments

@anidotnet
Copy link
Contributor

In my android device with API 18:

java.lang.NoClassDefFoundError: java.nio.charset.StandardCharsets
        at org.h2.mvstore.MVStore.writeStoreHeader(MVStore.java:920)
        at org.h2.mvstore.MVStore.<init>(MVStore.java:399)

java.nio.charset.StandardCharsets is added in API level 19, see https://developer.android.google.cn/reference/java/nio/charset/StandardCharsets.html

So minSdkVersion should be 19 or higher for android devices if excludes jackson-datatype-jsr310:

   implementation ('org.dizitart:nitrite:3.2.0'){
        exclude group:"com.fasterxml.jackson.datatype", module:"jackson-datatype-jsr310"
    }
    implementation('org.dizitart:potassium-nitrite:3.2.0'){
        exclude group:"com.fasterxml.jackson.datatype", module:"jackson-datatype-jsr310"
    }

highlight it in README.md is recommended.

Originally posted by @rwsbillyang in #35 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant