You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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'
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.
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.
The text was updated successfully, but these errors were encountered: