Skip to content

Error ClassNotFound when in release mode #21

@raphasauer

Description

@raphasauer

Hello! Using this library, I have the following exception when running my app on release:

Platform Exception (connection_failure, java.lang.ClassNotFoundException: com.jcraft.jsch.jce.Random, null, null)

The temporary fix for this is to set this on the build gradle:

            minifyEnabled false
            shrinkResources false

I suspect proguard is removing some essential files when shrinking the app. Any guidance on what to add in proguard-rules.pro?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions