I have a fragment VideoPlayerBaseFragment inside a library project. I am using this library inside my app using artifactory build implementation
"com.mindvalley.module_videoplayer:module_videoplayer:1.9.3.6"
When I am building my app it is throwing following error :
Default method desugaring of
com.mindvalley.module_videoplayer.base.fragment.VideoPlayerBaseFragment
failed because its super classandroidx.fragment.app.Fragment
is missing
My library module implements exoplayer library
api "com.google.android.exoplayer:exoplayer:2.10.5"
I am unable to find the reason for this. It works fine with other libraries I have created and they also have fragment in them.