The current google play dependencies include the whole package of gms while only the gcm part is needed. The gms whole package is big and could reach the method quantity limit of Android. That is, change the gms dependency to the one below
compile "com.google.android.gms:play-services-gcm:8.1.0" instead of
The current google play dependencies include the whole package of gms while only the gcm part is needed. The gms whole package is big and could reach the method quantity limit of Android. That is, change the gms dependency to the one below
compile "com.google.android.gms:play-services-gcm:8.1.0" instead of
compile "com.google.android.gms:play-services:8.1.0"