Pov: Android Developer Working for 2hrs 1-hr Gradle Build time... (especially in release build+R8) 30 mins - Thinking & Fixing bugs 10mins - Creating Boilerplate classes (must in clean architecture eg: a use case for just calling repository) 10mins - Taking break 10mins - Actually Coding Ps: Gradle build times are very long when particularly working with compose and release build with minifyenabled (R8) #buildtimes #android #kotlin #android_studio
But what if you store the caches on local or a remote host machine and use them to make your build process faster 😁😁
Using a high-configuration laptop significantly reduces build time. For example, with an Apple M1 Pro, I don't face any issues while coding in Jetpack Compose, and build times are much faster.
It depends on the machine's hardware capabilities and specifications. For a system with high-level specifications, the initial build will take longer, but subsequent builds can take less than a minute.
And just add dependency injection ( eg. Hilt) and see the magic 😂 add 1 more hour in gradle build 😅
Get an Apple chip MacBook. Build times are crazy short.
When your system is slow add 2 hours more😂
Interesting!
Android Software Engineer @BNP - 🇧🇪
6moNo reason to use R8 while "working" 😉 also why would you do a release on a developer machine, even worse waiting for it?