简体   繁体   English

flutter_vpn 示例应用程序在安装后崩溃

[英]flutter_vpn example app crashing after installing

I was trying to build a vpn app in flutter then I found the flutter_vpn package which is using strongswan vpn protocol but when I tried to run the example app in the library in debug mode, it runs fine without any problem.我试图在 flutter 中构建一个 vpn 应用程序,然后我找到了使用 strongswan vpn 协议的flutter_vpn包,但是当我尝试在调试模式下在库中运行示例应用程序时,它运行良好,没有任何问题。 But when I tried to build apk or run in release mode the app crashes immediately.但是当我尝试构建 apk 或在发布模式下运行时,应用程序立即崩溃。 Can any one help me please.任何人都可以帮助我。 I created an issue in github where you can find the error log.我在 github 中创建了一个问题,您可以在其中找到错误日志。

Thank you谢谢

I don't know if this is the real fix or not but this fixes the problem我不知道这是否是真正的修复,但这解决了问题

release {
    signingConfig signingConfigs.release
    minifyEnabled false
    shrinkResources false
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM