nwipe-android is an application to wipe the internal storage of an Android device.
This app is still beta software.
This project includes a Nix flake for reproducible builds without requiring Android Studio.
- Nix with Flakes enabled.
-
Enter the development shell:
nix develop
The shell will automatically configure
ANDROID_HOMEand updategradle.propertieswith the correct path to the Nix-providedaapt2. -
Build the application:
gradle assembleRelease
Or as a one-liner:
nix develop .# -c gradle assembleRelease
The resulting APK will be at app/build/outputs/apk/release/app-release-unsigned.apk.
If you have an Android device or emulator connected with adb access, you can build, install, and run the debug version in one command:
nix develop .# -c runThis will:
- Build the debug APK.
- Install it on the connected device.
- Launch the main activity.
If you don't have a physical device, you can create and run an emulator:
- Create the emulator (one-time setup):
nix develop .# -c emu-create - Launch the emulator:
nix develop .# -c emu - Run the app (in a separate terminal):
nix develop .# -c run
To produce an Android App Bundle (required for Google Play), run:
nix develop .# -c bundleTo produce a Signed APK or AAB without modifying the codebase, you can pass your keystore information directly to Gradle:
nix develop .# -c gradle assembleRelease \
-Pandroid.injected.signing.store.file=/path/to/keystore.jks \
-Pandroid.injected.signing.store.password=your_password \
-Pandroid.injected.signing.key.alias=your_alias \
-Pandroid.injected.signing.key.password=your_passwordGPL-3.0


