Tencent / tinker

Tinker is a hot-fix solution library for Android, it supports dex, library and resources update without reinstall apk.
Other
17.17k stars 3.34k forks source link

gradle 5.5.1 打开 keepDexApply = true 编译失败 #1105

Open wangxiaxin opened 5 years ago

wangxiaxin commented 5 years ago

异常类型:编译异常

手机型号:

手机系统版本:

tinker版本:1.9.13

gradle版本:5.1.1

是否使用热更新SDK: TinkerPatch SDK

系统:windows/Linux

堆栈/日志: A problem occurred configuring project ':app'.

Failed to notify project evaluation listener. com/android/build/gradle/internal/transforms/DexTransform can't find tinkerProcessReleaseManifest, you must init tinker plugin first!

11:11:18.848 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: java.lang.NoClassDefFoundError: com/android/build/gradle/internal/transforms/Dex Transform 11:11:18.848 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at com.tencent.tinker.build.gradle.TinkerPatchPlugin$_apply_closure1$_closure2.doCall(Tin kerPatchPlugin.groovy:217) 11:11:18.848 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:71) 11:11:18.848 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.util.ConfigureUtil.configureTarget(ConfigureUtil.java:155) 11:11:18.848 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:106) 11:11:18.848 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.util.ConfigureUtil$WrappedConfigureAction.execute(ConfigureUtil.java:167) 11:11:18.848 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollectio n.java:158) 11:11:18.848 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollectio n.java:186)

tys282000 commented 5 years ago

Tinker目前还不支持Gradle 5.x,可以降级到Gradle 4.7和AGP 3.2.1,就能正常编译了。

muxi166 commented 5 years ago

Tinker目前还不支持Gradle 5.x,可以降级到Gradle 4.7和AGP 3.2.1,就能正常编译了。

请问有计划什么时候支持吗

muxi166 commented 5 years ago

下个版本什么时候发呢

zhouguanyi commented 5 years ago

预计什么事实支持Gradle 5.x呢?

pumatus commented 4 years ago

plus one!!!!

alfredzhang0728 commented 4 years ago

现在还不支持吗?求告知 谢谢

Primer1889 commented 12 months ago

目前还不支持吗