public.txt : ERROR: failed reading stable ID file.
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{}],"original":"ERROR:: AAPT: ...\build\intermediates\tinker_intermediates\public.txt: error: failed reading stable ID file.\n\n ","tool":"AAPT"}
ERROR:: AAPT: ...\build\intermediates\tinker_intermediates\public.txt: error: failed reading stable ID file.
解决办案:
1.引入了Bugly:
根据Bugly官方Demo,需要查看项目中集成的 tinker-android-lib 版本号,如果和官方Demo相同(目前是‘1.9.14.10’)则需要在build.gradle中添加如下代码:
def createFile(path) {
File file = new File(path)
if (!file.exists()) {
f