gpt4 book ai didi

android - ThreeTen Backport 仅在某些设备上导致运行时

转载 作者:搜寻专家 更新时间:2023-11-01 08:18:34 28 4
gpt4 key购买 nike

这个痕迹对任何人来说都很眼熟吗?它只发生在少数设备上。 ThreeTenBP 是依赖中的依赖。

10:16:33 E AndroidRuntime : java.util.ServiceConfigurationError: org.threeten.bp.zone.ZoneRulesProvider: Provider org.threeten.bp.zone.TzdbZoneRulesProvider not found
10:16:33 E AndroidRuntime : at java.util.ServiceLoader.fail(ServiceLoader.java:233)
10:16:33 E AndroidRuntime : at java.util.ServiceLoader.access$100(ServiceLoader.java:183)
10:16:33 E AndroidRuntime : at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:373)
10:16:33 E AndroidRuntime : at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:416)
10:16:33 E AndroidRuntime : at java.util.ServiceLoader$1.next(ServiceLoader.java:494)
10:16:33 E AndroidRuntime : at org.threeten.bp.zone.ZoneRulesInitializer$ServiceLoaderZoneRulesInitializer.initializeProviders(ZoneRulesInitializer.java:123)
10:16:33 E AndroidRuntime : at org.threeten.bp.zone.ZoneRulesInitializer.initialize(ZoneRulesInitializer.java:89)
10:16:33 E AndroidRuntime : at org.threeten.bp.zone.ZoneRulesProvider.<clinit>(ZoneRulesProvider.java:82)
10:16:33 E AndroidRuntime : at org.threeten.bp.zone.ZoneRulesProvider.getRules(Unknown Source:0)
10:16:33 E AndroidRuntime : at org.threeten.bp.ZoneRegion.ofId(ZoneRegion.java:143)
10:16:33 E AndroidRuntime : at org.threeten.bp.ZoneId.of(ZoneId.java:358)
10:16:33 E AndroidRuntime : at org.threeten.bp.ZoneId.of(ZoneId.java:286)
10:16:33 E AndroidRuntime : at org.threeten.bp.ZoneId.systemDefault(ZoneId.java:245)
10:16:33 E AndroidRuntime : at org.threeten.bp.Clock.systemDefaultZone(Clock.java:137)
10:16:33 E AndroidRuntime : at org.threeten.bp.LocalDate.now(LocalDate.java:165)

最佳答案

添加混淆器规则:

-keep class org.threeten.bp.zone.*

似乎已经修复了!

关于android - ThreeTen Backport 仅在某些设备上导致运行时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54933443/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com