title: Difference between D8 and R8 android
body: <p>As android studio introduced two new tools D8 and R8.
  As per google documentation D8 is a dex tool and R8 is a progourd tool but as their explanation both are doing almost same thing like below:</p>
  <blockquote>
  <p>D8 is a dexer that converts java byte code to dex code.</p>
  <p>R8 is a java program shrinking and minification tool that converts java byte code to optimized dex code.</p>
  </blockquote>
  <p>It seems both converts java byte code to dex code literally. So, Whats actually they are doing internally in case of converting dex code?</p>