in Application class, in create method I call GoogleAnalytics.getInstance(this) and application just freezes...on any device Worked fine with google play services 6.1, now it's 6.5 and I have no idea what could cause this.... Any ideas?
public class BaseApplication extends Application {
private static Tracker mTracker;
private MyProfile mMyProfile;
public BaseApplication() {
super();
}
private void initTracker() {
if (mTracker == null) {
GoogleAnalytics analytics = GoogleAnalytics.getInstance(this);
mTracker = analytics.newTracker(R.xml.global_tracker);
mTracker.enableAdvertisingIdCollection(true);
}
}
`...
Gradle
dependencies {
compile project(':IMFramework')
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'com.google.android.gms:play-services-base:6.5.87'
compile 'com.google.android.gms:play-services-maps:6.5.87'
}