我的 APP 集成了 LeanCloud 的短信服务,今天更新了一下依赖,然后初始化的时候出现了这样的问题:
java.lang.NoSuchFieldError: No field autoTypeSupport of type Z in class Lcom/alibaba/fastjson/parser/ParserConfig; or its superclasses (declaration of 'com.alibaba.fastjson.parser.ParserConfig' appears in /data/app/我的包名-ySVF2ktSyOdYT9iIHF-5ew==/base.apk)
看样子是跟依赖中的 fastjson 有关,我的依赖就是按照官方的文档来的:
implementation('cn.leancloud:storage-android:6.1.5') {
exclude group: 'com.alibaba', module: 'fastjson'
exclude group: 'org.ligboy.retrofit2', module: 'converter-fastjson'
}
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation 'com.alibaba:fastjson:1.1.51.android'
implementation 'org.ligboy.retrofit2:converter-fastjson-android:2.1.0'
该怎么解决啊????急急急急急急
-
创建时间
19年12月27日
-
最后回复
19年12月30日
-
1
回复
-
1.0K
浏览
-
2
用户