Tinker is a hot-fix solution library for Android, it supports dex, library and resources update without reinstall apk.
TinkerLog.printPendingLogs()
将这些日志通过设置的实现类输出。如果接入此版本后编译时报如下错误:
More than one file was found with OS independent path 'META-INF/proguard/androidx-annotations.pro'
在 app 工程的 build.gradle 中加入以下内容即可解决问题:
android {
packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
}
}
isArkHotRuning
总是返回 false 的问题。