We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
该问题已经解决!
Flutter从某一个版本后,打包会自动开启混淆代码。ShareSDK已经做了混淆处理,再次混淆会导致不可预期的错误。
解决方案: 1.打包时关闭混淆。 //关闭代码混淆 minifyEnabled false //删除无用代码 useProguard false //代码压缩设置 shrinkResources false //删除无用资源
//关闭代码混淆 minifyEnabled false //删除无用代码 useProguard false //代码压缩设置 shrinkResources false //删除无用资源
或者 打包时使用命令:flutter build apk --no-shrink 也可关闭混淆。
2.在你的混淆脚本中添加如下的配置,跳过对ShareSDK的混淆操作: 参考官方: https://www.mob.com/wiki/detailed/?wiki=ShareSDK_Others_Share_Confused&id=undefined
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: