我的 Android Studio 项目以前构建速度更快,但现在构建需要很长时间。有什么想法是什么导致了这种延迟吗?我尝试了https://dev59.com/aoHba4cB1Zd3GeqPSokC#27171878,但没有效果。我没有运行任何可能会中断构建的反病毒软件。我的应用程序大小也不是很大(约 5MB),以前能在几秒钟内构建完成,但不确定发生了什么变化。
10:03:51 Gradle build finished in 4 min 0 sec
10:04:03 Session 'app': running
10:10:11 Gradle build finished in 3 min 29 sec
10:10:12 Session 'app': running
10:20:24 Gradle build finished in 3 min 42 sec
10:28:18 Gradle build finished in 3 min 40 sec
10:28:19 Session 'app': running
10:31:14 Gradle build finished in 2 min 56 sec
10:31:14 Session 'app': running
10:38:37 Gradle build finished in 3 min 30 sec
10:42:17 Gradle build finished in 3 min 40 sec
10:45:18 Gradle build finished in 3 min 1 sec
10:48:49 Gradle build finished in 3 min 30 sec
10:53:05 Gradle build finished in 3 min 22 sec
10:57:10 Gradle build finished in 3 min 19 sec
10:57:11 Session 'app': running