Tinker: 无法访问Keep1.9.14.7,他下面的版本都正常

Created on 11 Jun 2020  ·  3Comments  ·  Source: Tencent/tinker

异常类型:编译异常

手机型号:

手机系统版本:

tinker版本:1.9.14.7

gradle版本:3.5.0 ,gradle-5.4.1

是否使用热更新SDK: 无

系统:Mac
1.9.14.4-1.9.14.6都正常,只有1.9.14.7出现
看到#1365 他是1.9.14.5出现一跟一样配置处理,还是不行

堆栈/日志:

Task :lib.hotfix:compileDebugJavaWithJavac FAILED
Gradle may disable incremental compilation as the following annotation processors are not incremental: tinker-android-anno-1.9.14.7.jar (com.tencent.tinker:tinker-android-anno:1.9.14.7).
Consider setting the experimental feature flag android.enableSeparateAnnotationProcessing=true in the gradle.properties file to run annotation processing in a separate task and make compilation incremental.
错误: 无法访问Keep
找不到com.tencent.tinker.anno.Keep的类文件
1 个错误

Most helpful comment

api("com.tinkerpatch.tinker:tinker-android-anno-support:${TINKER_VERSION}") { changing = true }

这样可以访问

All 3 comments

api("com.tinkerpatch.tinker:tinker-android-anno-support:${TINKER_VERSION}") { changing = true }

这样可以访问

api("com.tencent.tinker:tinker-android-lib:${TINKER_VERSION}") { changing = true }
//tinker的核心库
api("com.tencent.tinker:tinker-android-loader:${TINKER_VERSION}") { changing = true }
annotationProcessor("com.tencent.tinker:tinker-android-anno-support:${TINKER_VERSION}") { changing = true }
api("com.tencent.tinker:tinker-android-anno-support:${TINKER_VERSION}") { changing = true } 这样可以了

@yuanshenbin annotationProcessor("com.tencent.tinker:tinker-android-anno-support:${TINKER_VERSION}") { changing = true } 这样是生成不了类的...注解器的包名在
annotationProcessor("com.tencent.tinker:tinker-android-anno:${TINKER_VERSION}") { changing = true }

Was this page helpful?
0 / 5 - 0 ratings