![]()
$8/month supporters:
And **1** Private Sponsor!
## Building Auxio relies on a patched version of Media3 that enables some extra playback features, alongside taglib for metadata parsing. This adds some caveats to the build process: 1. `cmake` and `ninja-build` must be installed before building the project. 2. The project uses submodules, so when cloning initially, use `git clone --recurse-submodules` to properly download the external code. 3. You are **unable** to build this project on windows, as the custom Media3 build runs shell scripts that will only work on unix-based systems. ### Set up Android Studio #### Install Android Studio. ```bash pkg -S android-studio ``` #### Configuring Android Studio: - Be sure to have NDK tools, version 28.2.13676358. You can search it on Languages & Frameworks > Android SDK. - Install Java-21 with your system package manager ```bash sudo pkg -S jdk21-openjdk ``` Additionally: Set java version to jdk21-openjdk - Run ./gradlew assembleDebug #### Connecting to your Android Device You can connect your Mobile Phone through USB to run the app. 1. **Enable Developer Options on your phone** - Go to **Settings > About phone** - Tap **Build number** 7 times until you see *"You are now a developer!"* 2. **Enable USB debugging** - Go to **Settings > Developer options** - Turn on **USB debugging** 3. **Connect your phone to the computer** - Use a USB cable - On your phone, accept the *Allow USB debugging?* prompt 4. **Verify that your device is detected** ```bash cd ~/Android/Sdk/platform-tools ./adb devices ``` Android Studio also offers virtual devices that come with this pre-configured. #### Install the app on the Android Phone To install the app on your physical device or emulator, run this command: ```bash ./gradlew installDebug ``` Auxio should now appear in the list of Apps #### Load music to Auxio (Optional) You can move files from your pc to your device / emulator to test the music using this command: ```bash cd ~/Android/Sdk/platform-tools ./adb push ~Music/ /sdcard/Music ``` ## Contributing Auxio accepts most contributions as long as they follow the [Contribution Guidelines](/.github/CONTRIBUTING.md). However, feature additions and major UI changes are less likely to be accepted. See [Why Are These Features Missing?](https://github.com/OxygenCobalt/Auxio/wiki/Why-Are-These-Features-Missing%3F) for more information. ## License [](http://www.gnu.org/licenses/gpl-3.0.en.html) Auxio is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the [GNU General Public License](https://www.gnu.org/licenses/gpl.html) as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. More information can be found [here](https://github.com/OxygenCobalt/Auxio/wiki/Licenses).