BuglyDevTeam / Bugly-Android-Demo

Bugly Android SDK 使用例子
Apache License 2.0
811 stars 307 forks source link

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

Open Power-Android opened 2 years ago

Power-Android commented 2 years ago

异常类型

找不到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.

解决方案

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