跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • gradlew 编译 :app:transformClassesWithDesugarForDebug 很费时间
未分類
2 11 月 2020

gradlew 编译 :app:transformClassesWithDesugarForDebug 很费时间

gradlew 编译 :app:transformClassesWithDesugarForDebug 很费时间

資深大佬 : honglei92 3

有没有办法优化?

大佬有話說 (6)

  • 資深大佬 : GM

    换台高性能机子 /狗头

  • 資深大佬 : lonnyzhang

    别用 java8,相关配置去掉

    https://developer.android.com/studio/write/java8-support

  • 資深大佬 : 0x2CA

    正常现象

  • 資深大佬 : chenjiajia9411

    编译缓存开了吗?增量编译开了吗?

  • 主 資深大佬 : honglei92

    @chenjiajia9411 这两个怎么开呢

  • 資深大佬 : chenjiajia9411

    @honglei92 #5
    编译缓存: https://docs.gradle.org/current/userguide/build_cache.html
    https://kotlinlang.org/docs/reference/using-gradle.html#gradle-build-cache-support
    https://kotlinlang.org/docs/reference/kapt.html#gradle-build-cache-support-since-1220
    增量编译: https://docs.gradle.org/nightly/userguide/performance.html#incremental_compilation
    https://developer.android.com/studio/build/optimize-your-build#annotation_processors
    https://kotlinlang.org/docs/reference/kapt.html#incremental-annotation-processing-since-1330
    还有并行编译: https://docs.gradle.org/nightly/userguide/performance.html#parallel_execution

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具