AnsweredAssumed Answered

Error while integrating google play services

Question asked by Sandeep Singh on Jul 27, 2016

Hello

 

I am facing an issue when I am trying to integrate google analytics in my application in Android Kitkat and its lower versions devices.  I have tried removing all the other dependencies of my application to come to this conclusion that when i tried integrating google analytics dependency, smack is throwing NoClassDefFound exception of LruCache and ExpirationCache class. These all the smack dependency i am integrating in my app :

compile 'org.igniterealtime.smack:smack-tcp:4.1.4'
compile 'org.igniterealtime.smack:smack-android-extensions:4.1.4'
compile 'org.igniterealtime.smack:smack-android:4.1.4'
compile 'org.igniterealtime.smack:smack-experimental:4.1.4'
compile 'org.igniterealtime.smack:smack-im:4.1.4'
compile 'org.igniterealtime.smack:smack-extensions:4.1.4'

 

And, this is the google play service dependency that i am integrating :

compile 'com.google.android.gms:play-services-analytics:9.2.1'

 

Kindly, help me..thank you in advance.

Outcomes