From 4ea031e2ff8f54fda58d281b6b2fb37aca7b2b49 Mon Sep 17 00:00:00 2001 From: darthpedroo Date: Mon, 29 Sep 2025 22:13:56 -0300 Subject: [PATCH 1/4] Added instalation structions of Android Studio and an emulator device to run the applictation --- README.md | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/README.md b/README.md index 03c3ca47d..606022f66 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,81 @@ 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). From 9d9aa18768653571401423b4e21f9f4eeb4e87db Mon Sep 17 00:00:00 2001 From: darthpedroo Date: Tue, 30 Sep 2025 01:14:41 -0300 Subject: [PATCH 2/4] docs: improve README build and device setup instructions --- README.md | 46 ++++++++++++++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 606022f66..26886bf96 100644 --- a/README.md +++ b/README.md @@ -96,37 +96,51 @@ will only work on unix-based systems. #### Install Android Studio. -Debian: - -´´´bash -asdasd -´´´´ Arch: +```bash +yay -S android-studio +``` + #### Configuring Android Studio: -- Be sure to have NDK tools, version 28.2.13... You can search it on Languages & Frameworks > Android SDK. +- Be sure to have NDK tools, version 28.2.13676358. 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 - + ```bash + sudo pacman -S jdk21-openjdk + ``` + Set java version to jdk21-openjdk + Arch: + ```bash + sudo archlinux-java set 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] +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!"* -#### Install a device +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 + +#### Install a device (emulator) 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 From 72f435cb1d947f494b75fd74776f1f6c226ce0bf Mon Sep 17 00:00:00 2001 From: darthpedroo Date: Tue, 30 Sep 2025 01:22:20 -0300 Subject: [PATCH 3/4] docs: Added some descriptions and fixed blank spaces --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 26886bf96..de3a5f81c 100644 --- a/README.md +++ b/README.md @@ -106,11 +106,14 @@ yay -S android-studio - Be sure to have NDK tools, version 28.2.13676358. You can search it on Languages & Frameworks > Android SDK. - Install Java-21 + ```bash sudo pacman -S jdk21-openjdk ``` Set java version to jdk21-openjdk + Arch: + ```bash sudo archlinux-java set java-21-openjdk ``` @@ -136,6 +139,7 @@ You can connect your Mobile Phone through USB to run the app. ```bash cd ~/Android/Sdk/platform-tools ./adb devices + ``` #### Install a device (emulator) @@ -169,12 +173,17 @@ cd /home/porky/Android/Sdk/emulator ``` #### Install the app on the Android Phone +To install the app on your physical device or emulator, run this command: ```bash ./gradlew installDebug ``` -#### Load music to Auxio +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 From d0aadbca28455af62093c00f84f264a746fe0235 Mon Sep 17 00:00:00 2001 From: Alexander Capehart Date: Sat, 10 Jan 2026 18:32:31 -0700 Subject: [PATCH 4/4] info: cleanup extended build instructions --- README.md | 46 +++++----------------------------------------- 1 file changed, 5 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index de3a5f81c..7883a076a 100644 --- a/README.md +++ b/README.md @@ -96,27 +96,20 @@ will only work on unix-based systems. #### Install Android Studio. -Arch: - ```bash -yay -S android-studio +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 +- Install Java-21 with your system package manager ```bash - sudo pacman -S jdk21-openjdk + sudo pkg -S jdk21-openjdk ``` - Set java version to jdk21-openjdk + Additionally: Set java version to jdk21-openjdk - Arch: - - ```bash - sudo archlinux-java set java-21-openjdk - ``` - Run ./gradlew assembleDebug #### Connecting to your Android Device @@ -141,36 +134,7 @@ You can connect your Mobile Phone through USB to run the app. ./adb devices ``` -#### Install a device (emulator) - -To run the application without a physical Android device, you can use an Emulator. To install it you need to: - -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 -``` +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: