![]()
$8/month supporters:
## 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. Debian: ´´´bash asdasd ´´´´ Arch: #### Configuring Android Studio: - Be sure to have NDK tools, version 28.2.13... You can search it on Languages & Frameworks > Android SDK. - Install Java-21 - Configurate it in gradle.properties: - org.gradle.java.home=/usr/lib/jvm/java-21-openjdk - Run ./gradlew assembleDebug #### Connecting to your Android Device You can connect your Mobile Phone through USB to run the app. [Explain more] #### Install a device To run the application without a physical Android device, you can use an Emulator. To install it you need to: Debian ```bash ``` Arch ```bash yay -S android-sdk-platform-tools yay -S android-emulator ``` Install a version of an Android Phone: ```bash cd ~/Android/Sdk/cmdline-tools/latest/bin ./sdkmanager --install "system-images;android-33;google_apis;x86_64" ``` Run the emulator ```bash cd ~/Android/Sdk/cmdline-tools/latest/bin ./avdmanager create avd -n auxio-avd -k "system-images;android-33;google_apis;x86_64" --device "pixel" ``` ```bash cd ~/Android/Sdk/cmdline-tools/latest/bin ./sdkmanager "emulator" cd /home/porky/Android/Sdk/emulator ./emulator -avd auxio-avd -netdelay none -netspeed full ``` #### Install the app on the Android Phone ```bash ./gradlew installDebug ``` #### Load music to Auxio ```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).