Gradle Build failure with exception of several decks after I changed gms: play-services: 7.5.0 to 8.1.0
The error was caused by exceeding the limit of 65 thousand methods and was fixed by replacing the version or deleting several libraries, but this does not seem to be the right solution, because you usually need more than several libraries.
What is the best solution to bypass the 65k limit?
EDIT
The best option is to prevent the DexIndexOverflowException problem by using separate parts of the gms library, such as com.google.android.gms:play-services-maps:8.1.0
orcom.google.android.gms:play-services-identity:8.1.0
source
share