Closed Nccssa closed 3 years ago
需要添加 api('com.tencent.tinker:tinker-android-anno-support:1.9.14.10') 解决 找不到com.tencent.tinker.anno.Keep的类文件 问题
需要添加 api('com.tencent.tinker:tinker-android-anno-support:1.9.14.10') 解决找到com.tencent.tinker.anno.Keep的类文件问题
感谢回复,
在库文件里也没有发现
anno 里面没有 必须得是anno-support 才有
anno里面没有必须得是anno-support才有
api("com.tencent.tinker:tinker-android-lib:${TINKER_VERSION}") { changing = true }
api("com.tencent.tinker:tinker-android-loader:${TINKER_VERSION}") { changing = true }
annotationProcessor("com.tencent.tinker:tinker-android-anno-support:${TINKER_VERSION}") { changing = true }
compileOnly("com.tencent.tinker:tinker-android-anno-support:${TINKER_VERSION}") { changing = true }
已可以正常引用,另外一个问题是 没有自动生成InCallApplication 类(使用 Rebulid Project)
这个感觉是 SampleApplicationLike 没有使用,onBaseContextAttached 方法没有执行。
Issue/提问须知
在提交issue之前,我们应该先查询是否已经有相关的issue以及常见问题。提交issue时,我们需要写明issue的原因,以及编译或运行过程的日志(加载进程以及Patch进程)。issue需要以下面的格式: