Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save veritas06/4e77e5dea5165e87baa139a81f6b7c61 to your computer and use it in GitHub Desktop.
Save veritas06/4e77e5dea5165e87baa139a81f6b7c61 to your computer and use it in GitHub Desktop.
Instructions from Cat in a Nutshell on building the rabbitude-launcher.

Building the Rabbitude Launcher

Prerequisites

  • Basic knowledge of using the terminal/command line.
  • An internet connection to download dependencies and the repository.

Step 1: Install Dependencies

Android SDK

Ensure you have the Android SDK, or at least the command-line tools installed. You can download it from the official Android developer website.

Once downloaded, install the necessary components:

./sdkmanager --sdk_root=$HOME/android-sdk "platform-tools" "platforms;android-30" "build-tools;30.0.3"

Add the following to your local.properties file in the project root:

sdk.dir=[HOMEDIR]/android-sdk/

Alternatively, you can run Gradle with the environment variable ANDROID-HOME set to:

export ANDROID_HOME=$HOME/android-sdk

Git

Install Git using your package manager:

Arch Linux (yay):

yay -S --needed git

Arch Linux (Pacman):

pacman -S --needed git

Debian-based systems:

apt install git

RHEL Family:

yum install git

Step 2: Downloading the Repository

Navigate to your desired build directory:

cd /path/to/your/build/directory

Using wget:

Download the repository:

wget 'https://firmburrow.rabbitu.de/rabbitude/rabbitude-launcher/archive/main.zip'

Extract the ZIP file:

unzip main.zip
cd rabbitude-launcher-main

Using curl:

Download the repository:

curl 'https://firmburrow.rabbitu.de/rabbitude/rabbitude-launcher/archive/main.zip' -o 'rabbitude-launcher.zip'

Extract the ZIP file:

unzip rabbitude-launcher.zip
cd rabbitude-launcher-main

Using Git:

Clone the repository:

git clone 'https://firmburrow.rabbitu.de/rabbitude/rabbitude-launcher.git'
cd rabbitude-launcher

If you encounter nested folders, navigate to the correct directory:

cd rabbitude-launcher/rabbitude-launcher

Step 3: Building the Launcher

  1. Navigate to the root directory of the project:

    cd /path/to/rabbitude-launcher
  2. Run Gradle to prepare the environment:

    ./gradlew
  3. Build the project:

    ./gradlew build
  4. Locate the APK file: The built APK can be found in the following directory:

    ./app/build/outputs/apk

Conclusion

You have successfully built the Rabbitude Launcher. The APK file is now ready to be installed on your Android device. If you encounter any issues or have further questions, you are on your own for now. The README isn't very helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment