title: Why are dex files different for different buildvariants of an android project
body: <p>I have 2 build variants for an Android application. When I compare the 2 apks using APK analyser, i see ~2.5% difference in the multiple dex files. Whereas the code is same for both the build variants. The only difference these variant have is differential app icon and a different boolean value injected via gradle. </p>
  
  <p>I am unable to find the reasons for this difference.</p>
  
  <p>On the other hand, if I use the same build variant to produce 2 apk's by passing the differential boolean flag as a command line parameter to the gradlew command, APK analyser reports 0 differences in the dex files.</p>