What is “platformAttrExtractor” in Android Task Execution?

这一生的挚爱 提交于 2019-12-06 23:32:19

问题


I profile my build follwings instruction in Android:

gradlew --profile --recompile-scripts --offline --rerun-tasks assembleFlavorDebug

I found "UI:platformAttrExtractor" takes a long time, please see the screenshot.

I don't understand what "platformAttrExtractor" is and how can I remove it to save build time?


回答1:


I have the sample "problem". What I noticed is that by specifying the --offline command line option for gradle, build time (and specifically the time taken by the platformAttrExtractor) task is reduced considerably



来源:https://stackoverflow.com/questions/47660949/what-is-platformattrextractor-in-android-task-execution

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!