在集成 Bugly 时的异常错误:
What went wrong: Execution failed for task ':app:tinkerPatchRelease' old apk .....app\build\bakApk/app-0605-16-51-44/app-release.apk is not exist, you must set the correct old apk value!
没有找到 app-0605-16-51-44 的基准包,我们要做的就是检查路径有木有错误
在 tinker-support.gradle 中找以下代码
/**
* 此处填写每次构建生成的基准包目录
*/
def baseApkDir = "app-0607-17-09-08"
将 baseApkDir = “ ” 的和我们刚开始生存的基准包名一致
就是说吧 baseApkDir = “app-0605-16-51-44” 替换成 “app-0607-17-09-08 ”
这样我们的补丁包才才可以创建成功...