Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Android google service 8.3.0 dependency


When I used JW player android sdk,
In my build.gradle
compile 'com.google.android.gms:play-services-base:9.4.0'
compile 'com.longtailvideo.jwplayer:jwplayer-android-sdk:+'

It says
All com.google.android.gms libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 9.4.0, 8.3.0. Examples include com.google.android.gms:play-services-base:9.4.0 and com.google.android.gms:play-services-ads:8.3.0 less... (Ctrl+F1)
There are some combinations of libraries, or tools and libraries, that are incompatible, or can lead to bugs. One such incompatibility is compiling with a version of the Android support libraries that is not the latest version (or in particular, a version lower than your targetSdkVersion.)

Can I use google's 9.40 service if I want to use jw player?

4 Community Answers

George

JW Player Support Agent  
1 rated :

Hi,

You should use compile ‘com.google.android.gms:play-services-ads:8.3.0’

y...

User  
0 rated :

I cannot use differnt version of google service plug in, does that mean if I want to use jw player, I cannot use newer version higher than 8.3?

y...

User  
0 rated :

I really wish I can use google service 9.0.1, because there is a bug in google service 8.3 causing crashing when using google cloud message

George

JW Player Support Agent  
0 rated :

You could add this to your app’s build.gradle file, if you’re using the 9 version of Google Play.

android {

packagingOptions {
exclude ‘jsr305_annotations/Jsr305_annotations.gwt.xml’
}

}

This question has received the maximum number of answers.