Skip to content
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

Flutter 3.0.5 添加 jverify 编译时异常 #162

Open
xiejibiao opened this issue Aug 9, 2022 · 8 comments
Open

Flutter 3.0.5 添加 jverify 编译时异常 #162

xiejibiao opened this issue Aug 9, 2022 · 8 comments

Comments

@xiejibiao
Copy link

image
步骤:使用Flutter 3.0.5 添加 jverify 插件,编译运行时,出现以上报错提示。
使用Flutter 2.10.5 时,是能正常编译运行,并且功能无误的。有人知道是什么情况吗?
插件版本: 2.2.5

@xiejibiao
Copy link
Author

并且官方example 也是有问题的,并不能跑起来

@gavingy33
Copy link

+1

@LiWenHui96
Copy link

#161 或许有所帮助吧。

@mwf564
Copy link

mwf564 commented Sep 13, 2022

同样问题

@gcming
Copy link

gcming commented Sep 20, 2022

+1

1 similar comment
@stdroom
Copy link

stdroom commented Oct 12, 2022

+1

@stdroom
Copy link

stdroom commented Oct 12, 2022

我解决了 这个不能用7.0+gradle版本集成 我试了下 6.5的可以,example里面自己5.几的当然也可以,如果7.0+的gradle版本要集成的话 需要修改源码 去掉之前的 useProgrard和 proguardFiles ; 混淆代码改为 consumerProguardFiles 'consumer-rules.pro'
useProguard true // library 混淆 -> 随 library 引用,自动添加到 apk 打包混淆 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'consumer-rules.pro'

@stdroom
Copy link

stdroom commented Oct 12, 2022

image 步骤:使用Flutter 3.0.5 添加 jverify 插件,编译运行时,出现以上报错提示。 使用Flutter 2.10.5 时,是能正常编译运行,并且功能无误的。有人知道是什么情况吗? 插件版本: 2.2.5

你的gradle版本降到7以下 或者修改源码 修改混淆配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants