Open kuer131 opened 6 years ago
INFO] preparing for tasks... [-][read_project_info_task] finished. in 14.7s [-][generate_file_stat_task] finished. in 1.1s [-][gradle_clean_build_task] finished. in 524.5s [-][clean_all_cache_task] finished. in 0.0s [-][install_apk_task] finished. in 48.4s [-][build_base_resource_task] finished. in 11.3s [-][generate_project_info_task] finished. in 0.1s [-][generate_apt_files_task] finished. in 0.0s [-][append_file_stat_task] finished. in 0.0s [DEBUG] -------------------------------------------------------- [DEBUG] Prepare tasks time: 0.2s [DEBUG] Task engine running time: 587.7s [DEBUG] Total time: 587.8s [DEBUG] --------------------------------------------------------
之前还好好的,不知道怎么回事,每次全量编译会超过500秒,
好吧,今天偶然发现了这个情况的症结所在,无意打开了build->outputs->apk这个目录下,竟然发现所有渠道的安装包都打包了,原来是多渠道打包的缘故,在gradle中注释掉了多渠道,一下就恢复了100多秒全量更新,希望能改掉这个问题,因为我多渠道已经在gradle配置了 freeline { hack true productFlavor 'umeng' } 希望能改掉这个问题
你的多渠道构建是在哪里配置的?
INFO] preparing for tasks... [-][read_project_info_task] finished. in 14.7s [-][generate_file_stat_task] finished. in 1.1s [-][gradle_clean_build_task] finished. in 524.5s [-][clean_all_cache_task] finished. in 0.0s [-][install_apk_task] finished. in 48.4s [-][build_base_resource_task] finished. in 11.3s [-][generate_project_info_task] finished. in 0.1s [-][generate_apt_files_task] finished. in 0.0s [-][append_file_stat_task] finished. in 0.0s [DEBUG] -------------------------------------------------------- [DEBUG] Prepare tasks time: 0.2s [DEBUG] Task engine running time: 587.7s [DEBUG] Total time: 587.8s [DEBUG] --------------------------------------------------------
之前还好好的,不知道怎么回事,每次全量编译会超过500秒,