BuglyDevTeam/Bugly-Android-Demo

建议:请更新文档 找不到com.tencent.tinker.anno.Keep的类文件

Power-Android opened this issue · 0 comments

异常类型

找不到com.tencent.tinker.anno.Keep的类文件

Tinker版本

1.9.14.10

gradle版本

6.1.1

系统

mac

堆栈/日志

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

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

解决方案

因为应用升级1.3.5版本起,不再内置tinker
app下的build.gradle需要添加
com.tencent.tinker:tinker-android-anno-support:1.9.14.10