Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Speeding Up Android Gradle Builds - Optimization Strategies

Android Developers via YouTube

Overview

Discover strategies to accelerate Android Gradle builds in this informative Google I/O 2017 session. Learn how the Android Gradle build system functions and explore practical tips to enhance build performance and boost developer productivity. Gain insights into benchmarking build scenarios, leveraging the latest Android Gradle plugin, avoiding legacy multidex, optimizing resource inclusion, utilizing Instant Run, and enabling Gradle caching. Explore the impact of code changes in multi-module projects, use the Gradle profiler for analysis, and find out how to report performance issues. Walk away with valuable knowledge to speed up your Android project builds and streamline your development workflow.

Syllabus

Intro
Benchmark: 3 build scenarios
Use latest Android Gradle plugin
Avoid legacy multidex
Avoid multidex
Disable multi-APK
Passing devBuild in Android Studio
Tip 4: Include minimal resources
Disable png crunching
Or, consider using WebP
Use Instant Run
Avoid inadvertent changes
Impact of manifest change
Fixing version Code updates
Crashlytics is safe, right?
Don't use dynamic versions
Watch the memory
Enable Gradle Caching
Use Gradle Caching
Cumulative improvement
Multi-module project
Code change impact (before 3.0)
Non-Abi code change impact (3.0)
Non-Abi code change in module
Non Abi change
It adds up!
Gradle profiler
Filing performance bugs
Some resources Optimize your build speed

Taught by

Android Developers

Reviews

Start your review of Speeding Up Android Gradle Builds - Optimization Strategies

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.