Faced with such a problem that the application compiles for a very long time. I tried to clean the cache - with no result
Changed the settings in build.gradle
- no result
Moreover, I have a similar project in terms of code volume and it compiles on the same configuration files for no more than a couple of minutes.
Android Studio Fox 2020.3.1 Patch 3
-
AGP 7.0.4
-
Gradle 7.0.2
-
Kotlin 1.6.21
CodePudding user response:
Try invalidate cache and restart
. if it doesn't work delete .gradle
folder under user
folder. If it doesnt work too. You can try stable Android Studio version. Because you use canary version it may be real source of problem. You know it is very buggy usually.
CodePudding user response:
Fixed by deleting kotlin-android-extensions
and rewrite all code where was it by used