Fragmented - Android Developer Podcast

249 - Java and the JDK: Powering the Android Landscape with Michael Bailey

7 snips
Jul 10, 2023
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Dependency Upgrades Ate My Weekend

  • Koshik spent hours updating dependencies and chasing compilation issues when modernizing his open-source apps.
  • He wished for a clearer understanding of each build setting rather than relying on Stack Overflow fixes.
INSIGHT

JDK vs JRE: Roles Explained

  • The JDK bundles developer tools like the compiler while the JRE contains only the runtime and standard libraries.
  • Android developers need the JDK because builds and tools invoke compilers and packaging utilities.
ADVICE

Use Android Studio's Bundled JDK Or Configure Your Own

  • Android Studio ships with its own bundled JDK runtime (a JDK 17 in recent versions) so you don't have to preinstall Java.
  • Consider installing and configuring your own JDK when Gradle or build plugins require a specific version.
Get the Snipd Podcast app to discover more snips from this episode
Get the app