GithubHelp home page GithubHelp logo

Comments (6)

kakonema avatar kakonema commented on June 10, 2024 1

Great, works now. Thank you.

from muzei-nationalgeographic.

kakonema avatar kakonema commented on June 10, 2024

java.lang.ClassNotFoundException: Didn't find class "java.time.ZoneId" on path: DexPathList[[zip file "/data/app/de.msal.muzei.nationalgeographic-1/base.apk"],nativeLibraryDirectories=[/data/app/de.msal.muzei.nationalgeographic-1/lib/arm, /system/lib, /vendor/lib]]

from muzei-nationalgeographic.

sal0max avatar sal0max commented on June 10, 2024

This plugin isn't dead. So thanks for the issue. That was a tough one.

  1. There is no usage of classes in the java.time package:
    https://github.com/sal0max/muzei-nationalgeographic/search?q=java.time

  2. If there was, you'd expect there would be a lint error at compile time, not runtime errors, like in this test I just made:

Lint found 1 error. First failure:
.../src/main/kotlin/de/msal/muzei/nationalgeographic/ImageDeserializer.kt:17: Error: Call requires API level 26 (current min is 21): java.time.Duration#ofMillis [NewApi]
      val testVariableForDemonstration = java.time.Duration.ofMillis(1000)
                                                            ~~~~~~~~

Lint found errors in the project; aborting build.

However, once I tried it on an Android 5 Emulator I got the same runtime error.

The dateparser library is at fault here.
I'll think about a fix for this.

from muzei-nationalgeographic.

kakonema avatar kakonema commented on June 10, 2024

That makes sense, i also made a search and couldn't find that class in the code , thanks for looking it up. I found something called "coreLibraryDesugaring" which, if i understand correctly, adds android 8 api support for older android versions, hope that this helps

from muzei-nationalgeographic.

sal0max avatar sal0max commented on June 10, 2024

Desugaring seems to be the solution, correct: sisyphsu/dateparser#6

from muzei-nationalgeographic.

sal0max avatar sal0max commented on June 10, 2024

Fixed in version https://github.com/sal0max/muzei-nationalgeographic/releases/tag/2.4.3
Should arrive in the App Stores, soon.

Thanks again, for your message. 👍

from muzei-nationalgeographic.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.