Android build release failed with Caused by: java.lang.ArrayIndexOutOfBoundsException: 213 (proguard issue)
问题 My project is built fine with debug build variant, but with release variant Android Studio throws: Caused by: java.lang.ArrayIndexOutOfBoundsException: 213 What could be the issue? If I set minifyEnabled false in build gradle for release build variant then it is being built ok, but it's not good Update I tried to add to proguard-rules.pro -keepnames class com.google.android.gms.** {*;} And it builds but I don't like this solution, I don't want to keep everything of that com.google.android.gms