Building and running app via Gradle and Android Studio is slower than via Eclipse

前端 未结 28 2457
太阳男子
太阳男子 2020-11-22 08:21

I have a multi-project (~10 modules) of which building takes about 20-30 seconds each time. When I press Run in Android Studio, I have to wait every time to rebuild the app,

28条回答
  •  逝去的感伤
    2020-11-22 08:49

    In our specific case, the problem was due to having the retrolambda plugin, which forced all projects and subprojects to recompile everytime we tried to launch our application, even if no code had been altered in our core modules.

    Removing retrolamba fixed it for us. Hope it helps someone.

提交回复
热议问题