Skip to content

编译时间超级长 #18

Open
Open

Description

@beanu

项目开启了Instance Run,但是每次编译的时候时间长达4分钟,分析之后,看到其中有一项占用的时间超过4分钟。
:app:transformClassesWithSaveStateForProDebug | Running for 4 m 33 s

Activity

  1. 0toN commented on Dec 10, 2019

    @0toN

    @beanu 我这边也有这个问题,只是偶尔会这样,不知道咋回事

  2. bigmanLau commented on Mar 6, 2020

    @bigmanLau

    他这个插件会遍历你项目里的所有类所有的属性是否有注解,所以会特别耗时,建议改成apt生成代理类的形势,比如butterknif那样生成额外的class文件,这样可以有效提高构建速度

  3. helloworld10010 commented on May 4, 2020

    @helloworld10010

    他这个插件会遍历你项目里的所有类所有的属性是否有注解,所以会特别耗时,建议改成apt生成代理类的形势,比如butterknif那样生成额外的class文件,这样可以有效提高构建速度

    建议作者改还是建议用的改。。?不会改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions