Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MediaSessionCompat missing #12

Open
FerFig opened this issue Apr 7, 2018 · 2 comments
Open

MediaSessionCompat missing #12

FerFig opened this issue Apr 7, 2018 · 2 comments

Comments

@FerFig
Copy link

FerFig commented Apr 7, 2018

Hi, I'm using Android Studio 3.1 and it's missing compile/implementation of 'com.android.support:support-media-compat:x.x.x' in app/build.gradle file or else MediaSessionCompat will not be available.

@Vkadel
Copy link

Vkadel commented Sep 16, 2018

It does not come up. I just added manually. I wonder why it was not already there, nor was there in the TODO's. Just added this line in the App build.gradle
implementation 'com.android.support:support-media-compat:27.1.1'

@SwetaTheBest
Copy link

If you are using android X, then for MediaControllerCompat & MediaSessionCompat, you will have to use
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
in app/build.gradle file or else MediaSessionCompat will not be available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants