Tencent / tinker

Tinker is a hot-fix solution library for Android, it supports dex, library and resources update without reinstall apk.
Other
17.17k stars 3.34k forks source link

适配AGP3.6.0 mapping.txt和R.txt路径 #1438

Closed coltonliang closed 4 years ago

coltonliang commented 4 years ago

AGP 3.6.0 以上 新的R.txt路径 app/build/intermediates/runtime_symbol_list/xxxDebug/R.txt

tys282000 commented 4 years ago

感谢支持!

Qunter commented 3 years ago

我这边项目AGP是3.1.0 打包的时候存在flavor 这个提交修改前使用的是variant.dirName 获取到的路径是flavor/buildtype 修改之后使用的taskName 获取到的路径是flavor+buildtype(首字母大写)

添加一个flavor叫normal 我现在实际R.txt路径应该是build/intermediates/symbols/normal/release/R.txt 但是脚本里使用的是build/intermediates/symbols/normalRelease/R.txt demo里使用相同AGP也可以复现