-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error after upgraded to Flutter 1.12 #27
Comments
Had the same issues this solved it for me:
|
@thomashuettmaier Thanks, that worked for me! How can I do it with |
I also encountered this issue. The error log shows:
Anyone has ideas on it? |
Sorry I don't have an idea how to do that. |
It says |
Any progress on this issue ? |
I just set API level ≥ 21. My app simply doesn't support Android 4.4 now |
targetSdkVersion is 28, and minSdkVersion is 18, but I'm testing on Android 9.0, so I don't see the link that this issue may have with minSdkVersion ? |
I did that, worked for a while weirdly, and then I stopped using this package |
You found an alternative ? |
No to flutter_ssh, I just found an alternative to solve my particular problem |
I managed to solve the crash in the production APK by adding the --no-shrink flag to the build:
My only guess is that the code shrinker thinks the library is not in use and deletes it |
The workaround also works for me with Any idea how to really fix this ? |
i have same problem,but i solved it first edit android/app/build.gradle enable minifyEnabled and useProguard
then create android/app/proguard-rules.pro and write class com.jcraft.,my document like this
|
|
If anyone is still struggling with this issue, and this work around didn't fix it for you, try creating the |
For some reason, it does work when I'm debugging; but after I build the production APK, it throws this error:
Flutter Doctor
The text was updated successfully, but these errors were encountered: