-
-
Notifications
You must be signed in to change notification settings - Fork 76
Build instructions
ShiftHackZ edited this page Aug 14, 2024
·
6 revisions
- Clone project (if not already)
git clone https://github.com/ShiftHackZ/Stable-Diffusion-Android.git
- Navigate to cloned directory
cd Stable-Diffusion-Android
- Run Unit Test locally
./gradlew clean testDebugUnitTest
Example of successfully passed Unit Tests console output:
Requirements:
- Unix compatible OS
- Open JDK 17
- Install Open JDK 17.
sudo pacman -S jdk17-openjdk
- Clone project (if not already)
git clone https://github.com/ShiftHackZ/Stable-Diffusion-Android.git
- Navigate to cloned directory
cd Stable-Diffusion-Android
- Build
./gradlew clean assembleFossRelease
- Take the output apk, it will be located at: ./Stable-Diffusion-Android/app/build/outputs/apk/foss/release/app-foss-release.apk