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 项目需要额外的处理吗 #70

Open
alinainai opened this issue Jul 3, 2023 · 1 comment
Open

针对 Flutter 项目需要额外的处理吗 #70

alinainai opened this issue Jul 3, 2023 · 1 comment

Comments

@alinainai
Copy link

针对 Flutter 项目需要额外的处理吗,首次编译通过后,更改代码后再编译出现如下问题:修改了其他库代码,未修改flutter代码
`
Type EventBus$1 is defined multiple times: kxx/app/build/intermediates/mixed_scope_dex_archive/productDebug/out/313c03228958fa597e67e1d693a640788fab4a55c133fba923e8d1a4b618e4b6_1.jar:classes.dex,
kxx/app/build/intermediates/mixed_scope_dex_archive/productDebug/out/660e02fccb1de8dd62024f4e55c7bdbaea7d4de2b731e9a91f106610e21235e8_1.jar:classes.dex

`

@trycatchx
Copy link
Owner

excludeTransForms: 编译阶段可以禁用的 transform ,编译速度更快(可通过build 的 log 搜索关键字 transFormList 查看自己项目引用了哪些 transform,并手动配置在 gradle.properties 文件下)

使用空格间隔开

excludeTransForms = com.alibaba.arouter AAA bbb

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

2 participants