Skip to content

error after Code Obfuscating under release mode #266

Open
@hpp0hpp

Description

@hpp0hpp

Hi, I am using shelf_plus to respond a text. but if no obfuscating, it runs ok. after I obfuscating the code,

with flutter build apk --obfuscate --split-debug-info=/doubantv/debug-info
will reports an error:

Error thrown by handler.
NoSuchMethodError: Closure call with mismatched arguments: function 'Oxb'
Receiver: Closure: (dva) => Future
Tried calling: Oxb
Found: Oxb(dva) => Future

because it's release mode. I don;t know how to debug the problem, but it seems the error caused here

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-questionA question about expected behavior or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions