I followed google documentation to integrate my app to Google Analytics. But when adding
apply plugin: \'com.google.gms.google-services\'
and b
At first you should call
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'com.google.gms:google-services:2.0.0-alpha2'
}
Don't (Avoid calling +
)
compile 'com.google.android.gms:play-services-gcm:+'
compile 'com.google.android.gms:play-services:8.4.0'
Do
compile 'com.google.android.gms:play-services:8.4.0'