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

前端 未结 28 1937
太阳男子
太阳男子 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:59

    You can ignore gradle update-to-date checks.

    enter image description here

    For Windows running Android Studio 1.5: Go to File -> Settings -> Build, Execution, Deployment -> Build tools -> Gradle -> Check Offline work (as shown in image)

    down from ~30+ sec to ~3 sec

提交回复
热议问题