Complete music player published in the Play Store. Heavily relies on Dagger, RxJava and Clean architecture.
Compilation can be done in 2 ways. Using the first method will prevent you from supporting FFMPEG, FLAC and OPUS formats.
In build.gradle
app module.
- Uncomment
implementation 'com.google.android.exoplayer:exoplayer-core:$latest_exoplayer_version
- Comment
implementation project(':exoplayer-library-core')
implementation project(':exoplayer-extension-flac')
implementation project(':exoplayer-extension-opus')
implementation project(':exoplayer-extension-ffmpeg')
- Clone ExoPlayer
- In
settings.gradle
:- Update
gradle.ext.exoplayerRoot
to match your ExoPlayer repo path - Change
withapply from: new File(gradle.ext.exoplayerRoot, 'core_settings_min.gradle')
apply from: new File(gradle.ext.exoplayerRoot, 'core_settings.gradle')
- Update
To support FLAC, FFMPEG and OPUS formats to you need to compile manually the corresponding ExoPlayer extensions using NDK-r15c or older, newer version of NDK are not supported.
If you find any problems, please feel free to file an issue.