Skip to content

在release混淆模式下,访问接口解析可能会报 default constructor not found 错误附临时解决方案 #3

@manondidi

Description

@manondidi
Owner

alibaba/fastjson#2929
原因如上 是fastjson的问题, 解决方法,
kotlin_version = '1.3.21'
更高的kotlin版本会出现这个问题
等待fastjson修复

Activity

changed the title [-]在release混淆模式下,访问接口解析可能会报 default constructor not found 错误[/-] [+]在release混淆模式下,访问接口解析可能会报 default constructor not found 错误附临时解决方案[/+] on Dec 22, 2019
manondidi

manondidi commented on Dec 22, 2019

@manondidi
OwnerAuthor

这个是fastJosn的bug,而fastJson不是kotlinArch必备的,
只是我在demo中 把fastjson做为 retrofit的解析方案,
可以自己替换成jackson的解决这个问题

added
wontfixThis will not be worked on
and removed
bugSomething isn't working
on Dec 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @manondidi

        Issue actions

          在release混淆模式下,访问接口解析可能会报 default constructor not found 错误附临时解决方案 · Issue #3 · manondidi/kotlinArch