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

是不支持Gradle7.1.1吗? #1723

Open
xueqi-pki opened this issue Jul 28, 2023 · 10 comments
Open

是不支持Gradle7.1.1吗? #1723

xueqi-pki opened this issue Jul 28, 2023 · 10 comments

Comments

@xueqi-pki
Copy link

公司的项目之前升级到了gradle7.1.1,项目的build.gradle文件是:
dependencies {
classpath 'com.android.tools.build:gradle:7.1.1'
}
然后我在module里面的build.gradle里配置
apply plugin: 'com.tencent.tinker.patch'
的时候,会有下面这个错误:
No such property: variantConfiguration for class: com.android.build.gradle.internal.variant.ApplicationVariantData
是没办法解决吗

@Jerricc
Copy link

Jerricc commented Aug 1, 2023

AGP7市面上的热修和插件框架都不支持,本质是不支持R8混淆

@heweimxcz
Copy link

AGP7市面上的热修和插件框架都不支持,本质是不支持R8混淆

热修agp7可能支持的不完善,插件框架很多都可以使用agp7

@chengkai417
Copy link

AGP7市面上的热修和插件框架都不支持,本质是不支持R8混淆

热修agp7可能支持的不完善,插件框架很多都可以使用agp7

有好的适配方案么

@Jerricc
Copy link

Jerricc commented Aug 8, 2023

AGP7市面上的热修和插件框架都不支持,本质是不支持R8混淆

热修agp7可能支持的不完善,插件框架很多都可以使用agp7

除了Shadow,哪个插件框架支持agp7呢

@Jerricc
Copy link

Jerricc commented Aug 8, 2023

AGP7市面上的热修和插件框架都不支持,本质是不支持R8混淆

热修agp7可能支持的不完善,插件框架很多都可以使用agp7

有好的适配方案么

没有

@chengkai417
Copy link

Shadow
请问一下,有支持7.0以上的热修框架么。。

@Jerricc
Copy link

Jerricc commented Aug 8, 2023

Shadow
请问一下,有支持7.0以上的热修框架么。。

shadow是插架框架,是在插件是加载在子进程,类信息和宿主是隔离的,所以不用担心混淆问题

@chengkai417
Copy link

AGP7市面上的热修和插件框架都不支持,本质是不支持R8混淆

这个,如果关闭R8是不是就可以了?

@Jerricc
Copy link

Jerricc commented Aug 8, 2023

AGP7市面上的热修和插件框架都不支持,本质是不支持R8混淆

这个,如果关闭R8是不是就可以了?

是的,agp7不支持r8

@heweimxcz
Copy link

replugin适配agp7挺好的适配的呀,我已经适配完了,上线有半年了

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

4 participants