i have been fixing android application run on new versions, , error has come up. don't know why, builds ok, not run.
01-24 11:27:40.978 4709-4709/com.sousheelvunnam.scrimmage e/androidruntime: fatal exception: main process: com.sousheelvunnam.scrimmage, pid: 4709 java.lang.noclassdeffounderror: com.google.android.gms.r$string @ com.google.android.gms.measurement.zza.<init>(unknown source) @ com.google.android.gms.measurement.zza.zzar(unknown source) @ com.google.android.gms.measurement.internal.zzn.zzij(unknown source) @ com.google.android.gms.measurement.internal.zzz.zza(unknown source) @ com.google.android.gms.measurement.internal.zzw.<init>(unknown source) @ com.google.android.gms.measurement.internal.zzaa.zzdj(unknown source) @ com.google.android.gms.measurement.internal.zzw.zzat(unknown source) @ com.google.android.gms.measurement.appmeasurementcontentprovider.oncreate(unknown source) @ android.content.contentprovider.attachinfo(contentprovider.java:1591) @ android.content.contentprovider.attachinfo(contentprovider.java:1562) @ android.app.activitythread.installprovider(activitythread.java:4774) @ android.app.activitythread.installcontentproviders(activitythread.java:4369) @ android.app.activitythread.handlebindapplication(activitythread.java:4309) @ android.app.activitythread.access$1500(activitythread.java:135) @ android.app.activitythread$h.handlemessage(activitythread.java:1256) @ android.os.handler.dispatchmessage(handler.java:102) @ android.os.looper.loop(looper.java:136) @ android.app.activitythread.main(activitythread.java:5001) @ java.lang.reflect.method.invokenative(native method) @ java.lang.reflect.method.invoke(method.java:515) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:785) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:601) @ dalvik.system.nativestart.main(native method)
here dependencies:
dependencies { compile filetree(dir: 'libs', include: 'parse-*.jar') compile 'com.parse.bolts:bolts-android:1.1.2' compile 'com.android.support:support-v13:23.1.1' compile 'com.google.android.gms:play-services:8.4.0' compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:cardview-v7:23.1.1' compile 'com.android.support:recyclerview-v7:23.1.1' compile('com.twitter.sdk.android:twitter:1.1.0@aar') { transitive = true; }
if google play services installed in sdk.
you should add line in manifest inside application tag
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
Comments
Post a Comment