title: Proguard not working after update to Google Play Services 11.8.0
body: <p>After updating Google Play Services to 11.8.0 (from 11.6.2) my builds stop working.</p>
  
  <p>This is what I got:</p>
  
  <blockquote>
    <p>Unexpected error while computing stack sizes:
      Class       = [com/google/android/gms/internal/zzao]
      Method      = [zzf(Ljava/lang/String;)J]
      Exception   = [java.lang.IllegalArgumentException] (Stack size becomes negative after instruction [23] invokestatic #146 in [com/google/android/gms/internal/zzao.zzf(Ljava/lang/String;)J])
    FAILURE: Build failed with an exception.</p>
  </blockquote>
  
  <p>I'm using Android Studio 3.0.1 with Gradle 4.4.1</p>
  
  <p>My app build.gradle file</p>
  
  <pre><code>buildscript {
      repositories {
          maven { url "https://maven.fabric.io/public" }
      }
  
      dependencies {
          classpath "io.fabric.tools:gradle:1.25.1"
      }
  }
  
  repositories {
      maven { url "https://maven.fabric.io/public" }
  }
  
  apply plugin: "com.android.application"
  apply plugin: "io.fabric"
  apply plugin: "let"
  apply plugin: "realm-android"
  
  android {
      compileSdkVersion project.androidSDKVersion
      buildToolsVersion("$androidBuildToolsVersion")
  
      defaultConfig {
          versionCode project.versionCode
          versionName project.versionName
  
          minSdkVersion project.androidMinSdkVersion
          targetSdkVersion project.androidTargetSdkVersion
  
          vectorDrawables.useSupportLibrary = true
          resConfigs "pl"
      }
  
      buildTypes {
          release {
              minifyEnabled true
              shrinkResources false
              crunchPngs false
              proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro", "proguard-fresco.pro"
              signingConfig signingConfigs.release
          }
          debug {
              ext.enableCrashlytics = false
              ext.alwaysUpdateBuildId = false
          }
      }
  
      flavorDimensions "tier", "minApi"
  
      productFlavors {
          minApi21 {
              minSdkVersion project.androidMinDevSdkVersion
              dimension "minApi"
          }
  
          minApi16 {
              minSdkVersion project.androidMinSdkVersion
              dimension "minApi"
          }
  
          dev {
              multiDexEnabled true
              dimension "tier"
          }
  
          prod {
              multiDexEnabled false
              dimension "tier"
          }
      }
  
      variantFilter { variant -&gt;
          def names = variant.flavors*.name
  
          if (names.contains("prod") &amp;&amp; names.contains("minApi21")) {
              setIgnore(true)
          }
      }
  
      applicationVariants.all { variant -&gt;
          appendVersionNameVersionCode(variant, defaultConfig)
      }
  
      lintOptions {
          checkReleaseBuilds false
          textReport true
          textOutput "stdout"
          fatal "UnusedResources"
      }
  
      compileOptions {
          sourceCompatibility JavaVersion.VERSION_1_8
          targetCompatibility JavaVersion.VERSION_1_8
      }
  }
  
  dependencies {
      debugImplementation("com.android.support:multidex:$multidexVersion")
  
      implementation("com.android.support:support-fragment:$androidSupportVersion")
      implementation("com.android.support:support-annotations:$androidSupportVersion")
      implementation("com.android.support:appcompat-v7:$androidSupportVersion")
      implementation("com.android.support:design:$androidSupportVersion")
      implementation("com.android.support:recyclerview-v7:$androidSupportVersion")
      implementation("com.android.support:cardview-v7:$androidSupportVersion")
      implementation("com.android.support:customtabs:$androidSupportVersion")
      implementation("com.android.support.constraint:constraint-layout:$constraintLayoutVersion")
      implementation("com.android.installreferrer:installreferrer:$installReferrerVersion")
  
      implementation("com.google.android.gms:play-services-analytics:$playServicesVersion")
      implementation("com.google.android.gms:play-services-location:$playServicesVersion")
      implementation("com.google.android.gms:play-services-ads:$playServicesVersion")
      implementation("com.google.android.gms:play-services-auth:$playServicesVersion")
  
      implementation("com.google.firebase:firebase-core:$playServicesVersion")
      implementation("com.google.firebase:firebase-messaging:$playServicesVersion")
      implementation("com.google.firebase:firebase-config:$playServicesVersion")
      implementation("com.google.firebase:firebase-auth:$playServicesVersion")
      implementation("com.google.firebase:firebase-invites:$playServicesVersion")
  
      (...) // I had removed other dependencies from the list
  }
  
  def appendVersionNameVersionCode(variant, defaultConfig) {
      variant.outputs.all { output -&gt;
  
          def versionCode = android.defaultConfig.versionCode
  
          output.versionCodeOverride = versionCode
          outputFileName = "${rootProject.name}-${variant.name}-${variant.versionName}-${versionCode}.apk"
      }
  }
  
  apply plugin: "com.google.gms.google-services"
  </code></pre>