search

Home  >  Q&A  >  body text

android-studio - Android studio 中 build.gradle 中如果依赖的项目过多的话 对app本身有什么影响吗

Android studio 中 build.gradle 中如果依赖的项目过多的话 对app本身有什么影响吗

PHPzPHPz2892 days ago771

reply all(4)I'll reply

  • 阿神

    阿神2017-04-18 09:17:38

    It won’t have much impact. Confusion optimization will be done, and unused libraries will be optimized during packaging.
    But if a project has too many dependencies, it may cause slow compilation during debugging.

    reply
    0
  • 阿神

    阿神2017-04-18 09:17:38

    gradle is just a packaging tool and will not affect the app.
    If there are too many dependencies, the compilation time will be very long. . . . . .

    reply
    0
  • 黄舟

    黄舟2017-04-18 09:17:38

    It is recommended to add all dependencies without any dependencies, which will really slow down the compilation time. Of course, artifacts such as instant run can be used very well in most cases.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-18 09:17:38

    xml attributes may have naming conflicts

    reply
    0
  • Cancelreply