You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
同样的报错问题,minSdkVersion不想是26,太高了
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/time/Instant;
at com.fasterxml.jackson.datatype.jsr310.JSR310Module.(JSR310Module.java:123)
at java.lang.reflect.Constructor.newInstance(Native Method)
at java.lang.Class.newInstance(Class.java:1572)
at java.util.ServiceLoader$ServiceIterator.next(ServiceLoader.java:214)
at com.fasterxml.jackson.databind.ObjectMapper.findModules(ObjectMapper.java:994)
at com.fasterxml.jackson.databind.ObjectMapper.findModules(ObjectMapper.java:978)
at com.fasterxml.jackson.databind.ObjectMapper.findAndRegisterModules(ObjectMapper.java:1028)
at io.jafka.jeos.impl.EosApiServiceGenerator.(EosApiServiceGenerator.java:31)
at io.jafka.jeos.impl.EosApiServiceGenerator.createService(EosApiServiceGenerator.java:42)
at io.jafka.jeos.impl.EosApiRestClientImpl.(EosApiRestClientImpl.java:50)
at io.jafka.jeos.EosApiFactory.create(EosApiFactory.java:9)
EosApi client = EosApiFactory.create("https://geo.eosasia.one");
Account account = client.getAccount("gggggggg");
先是报 NoClassDefFoundError 错误;Stack Overflow说是因为Android minSdkVersion必须是26及其以
上;
解决之后报的是这个:
com.fasterxml.jackson.databind.Module: Provider com.fasterxml.jackson.datatype.jsr310.JSR310Module
could not be instantiated
The text was updated successfully, but these errors were encountered: