java - NoClassDefFound in gradle scripts while working with google play services -


i facing strange problem. using google play services library dependency project. when run eclipse fine, when build apk gradle script, following exception

java.lang.noclassdeffounderror: com.google.android.gms.analytics.googleanalytics

strange part see class in .aar of library project when decompile final apk, class not present. not using proguard, not sure why class not being copied aar file final apk.

any highly appreciated.

thanks,

i able solve problem.. reason why classes service play jar not being copied in apk because jar built on java 7 , dx tool not able process it. changed build tool version in gradle script 18.0.1(dx can process java 6) 19.0.3( dx tool can process java 7). other people.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -