Thomas Hüttmaier
Thomas Hüttmaier
Had the same issues this solved it for me: - Run _flutter build apk --release_ - Ignore all warning like _ssh uses unsafe operations_ - Open the android folder in...
> @thomashuettmaier Thanks, that worked for me! How can I do it with `flutter build apk --split-per-abi`? Sorry I don't have an idea how to do that.
Same error on Android with `client.connect()` , app starts fine but when starting the SSH connection the app crashed. On emulator everything is fine.
This is the error I get: > 2019-12-16 14:09:10.421 11233-11415/com.baumaster.statistics E/SshPlugin: Connection failed: java.lang.ClassNotFoundException: com.jcraft.jsch.jce.Random > 2019-12-16 14:09:10.425 11233-11417/com.baumaster.statistics E/AndroidRuntime: FATAL EXCEPTION: Thread-5 > Process: com.baumaster.statistics, PID: 11233 > java.lang.NullPointerException:...
- Run _flutter build apk --release_ - Ignore all warning like _ssh uses unsafe operations_ - Open the android folder in Android Studio - Let the indexing and the gradle...