什么是“ platformAttrExtractor”?在Android任务执行中? [英] What is "platformAttrExtractor" in Android Task Execution?
本文介绍了什么是“ platformAttrExtractor”?在Android任务执行中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Android中配置了
我不知道 platformAttrExtractor是什么,如何删除它以节省构建时间?
解决方案
我有示例问题。我注意到的是,通过为gradle指定-offline
命令行选项,可大大减少构建时间(特别是platformAttrExtractor花费的时间)
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?
解决方案
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
这篇关于什么是“ platformAttrExtractor”?在Android任务执行中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文