Android Studio: Tips and tricks
summary
Shows concrete Android Studio 3.5 Beta workflows: use the Profiler to catch memory leaks (allocation tracking + GC) and the Energy Profiler to see CPU/network/GPS and WorkManager jobs, organize multi-module Gradle via a shared libs map, and check up‑to‑date builds to find flaky tasks (don’t use new Date in BuildConfig). Live demos include keyboard navigation, Smart Type Completion, refactorings and post‑fix templates, the Navigation/Layout/Resource editors with sample data and drag‑drop, and the new Apply Changes flow that deploys resource or code diffs and supports dropping frames to continue.
AI-written summary · about
chapters (44)
- 0:00Start
- 1:29detect memory leaks
- 1:57select a stock image
- 2:17use another tip in profilers
- 4:26open and close tool windows by clicking on the little buttons
- 4:56use the switcher control tab switches between most recent files
- 5:11open the drowned window
- 6:33switch between the tabs at the bottom
- 7:00split it into two different editors
- 9:38opens up a little tooltip with all the java
- 10:04use basic code completion control
- 10:35add a comma
- 11:00press control shift space
- 12:32stops at blank lines
- 13:48copy and paste from my previous items
- 15:05using the inline variable
- 17:06fix this up with a smart code completion
- 19:09navigate through the different destinations clicking on the left side
- 19:52organize your navigation graph
- 20:30organize your navigation graph a little
- 22:03populate your layouts
- 22:52select the constraint
- 23:31shows the hierarchy of my layout
- 24:01navigate to other layouts
- 25:13open an empty layout okay
- 25:38switch to a different mode
- 26:59drag it on top of an existing image view
- 27:38change the scaling of your image
- 27:57set the aspect ratio
- 28:09keep the aspect ratio of this image all the time
- 28:57share a few tips and tricks around building and running and deploying
- 29:49put the core under the libraries
- 31:07update all of the dependencies
- 31:45created library versions of gradle
- 32:23create a property ellipse
- 32:44open up the build gradle file in the root project
- 34:23select the core doodle
- 34:36click resolve dependencies on the right hand side
- 35:26run the build second time
- 36:43setting the build time field of the build config
- 37:03select the core modules module
- 37:55run this on the emulator
- 38:44open up strings on xml
- 39:05create a diff between those two apks
related talks
41mAndroid Studio Tips and Tricks Part 3
38mAndroid Studio Tips & Tricks
01h 18mAndroid Studio for Experts
16mBeing productive with Android Studio & Gradle
31mImprove app performance with Android Studio Profilers
36mThe little secrets of Android Studio
16mAndroid Studio Profiler Discovery
39mBecome a Pro in Android Studio
