I know that there is a lot of similar questions like this but cant apply these solutions on them. i am trying to transform date that i am getting from server int this format: 2019-07-26T02:39:32.4053394 and then i am trying to convert it to milliseconds like this: in my onCreate i call this method: but keep getting Caused by: org.threeten.bp.format.DateTimeParseException:
Tag: threetenbp
ThreeTen-Backport error on Android – ZoneRulesException: No time-zone data files registered
I’m using ThreeTen-Backport library for my Android project (because java.time is not yet implemented in android development). When I write LocalDate today=LocalDate.now(); or LocalTime time=LocalTime.now(); I get the following exception: The same line of code works well in another java project I have, which uses the native java.time library. I searched for a possible solution but couldn’t find anything useful: