Did you know that...? - Tips and tricks for better Android development
summary
Build time becomes tangible: a reported 18 minutes clean build on a modern laptop drives use of the Gradle profiler, manifest placeholders to disable Crashlytics mapping on debug, and device-only compilation to shave seconds. Dependency management uses buildscript variables and the firebase bom for compatible library sets; one repo runs the pattern across 40 submodules. Secrets move to gradle.properties, StrictMode catches accidental IO, @Parcelize generates Parcelable, LeakCanary and Stetho catch leaks and network issues, scrcpy records device demos, and Lottie, Retrofit, Koin, Moshi and Timber power production apps.
AI-written summary · about
chapters (17)
- 0:00Intro
- 1:28Project Setup & Build optimizations
- 1:51Optimize Crashlytics on debug builds
- 3:17Avoid compiling unnecessary resources
- 4:01Profile your build
- 5:46Dependencies versioning
- 8:49Firebase BOM versioning
- 11:17Passwords & sensitive info
- 13:40How about the code?
- 14:15Early mistake detection - Strict Mode
- 15:45@Parcelize
- 17:00Split style files by semantics
- 17:41Use colors and dimens as palletes
- 21:20Make use of attributes
- 24:46Android Developer's Toolbox
- 24:58Leak Canary Memory Leak detection
- 29:35Android Developer's everyday toolbelt
