Repository navigation
newbie needs help, instruction errors, and which data file? #100
Unanswered
GorillaSapiens
asked this question in
Q&A
Replies: 1 comment 3 replies
|
Hi, thanks for your interest in Timeshape. Regarding your problem, you should not copy the Timeshape files into your build. Instead you need to add it a dependency into your build definition. I think the README of Timeshape explains this, although I'm no Android developer myself. I think @zero0cool0 has been using Timeshape in Android, maybe they can help? |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
instructions say "Android developers should add Timeshape to the app level gradle.build as follows"
there is no gradle.build in Android Studio Chipmunk 2021.2.1
there is however a build.gradle, i used that instead
i got an "unresolved net" error on the import net.iakovlev.timeshape.TimeZoneEngine
i resolved it by copying files from timeshape/core/src/main/java/net/iakovlev/timeshape/ into my project
i do not know if this was the corect thing to do, or if i should have done something else
instructions say "data published at https://github.com/evansiroky/timezone-boundary-builder/releases"
but it is not clear to me which of the 8 files there i need, and what i need to do with them.
looking through timeshape,i see it trying to read from asset /data.tar.zstd, but that file does not exist in the timeshape
project, nor does it exist in the timezone-boundary-builder/releases
all the files in timezone-boundary-builder seem to be zip or json, no tar files, and no tar.zstd files
so i'm stuck here, not knowing where to get asset files from or which files to use
got any clues for me?
All reactions