What is “platformAttrExtractor” in Android Task Ex

2019-04-26 04:49发布

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.

Profile Build

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

1条回答
干净又极端
2楼-- · 2019-04-26 05:33

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

查看更多
登录 后发表回答