Build Android APK 0.1.2

This commit is contained in:
Ninosaurier committed 2026-11-26 11:40:43 +01:00
1 parent b46d251c9f
commit cb5517e249
31 files changed
+62 -92

No files matched your search

+3 -3
View File
@@ -21,16 +21,16 @@ Gradle creates the debug APK here:
android/app/build/outputs/apk/debug/app-debug.apk
```
After a successful build, `downloads/BeatHound-Android-eOS-0.1.1-debug.apk` is debug-signed and available for direct testing and sideloading, not for Google Play publication. A release build should use a private signing key that is not stored in Git.
After a successful build, `downloads/BeatHound-Android-eOS-0.1.2-debug.apk` is debug-signed and available for direct testing and sideloading, not for Google Play publication. A release build should use a private signing key that is not stored in Git.
`npm run android:debug` also copies each new debug build to `downloads/BeatHound-Android-eOS-0.1.1-debug.apk`.
`npm run android:debug` also copies each new debug build to `downloads/BeatHound-Android-eOS-0.1.2-debug.apk`.
### Install with ADB
With USB debugging enabled on an Android or e/OS device, install the APK with:
```sh
adb install downloads/BeatHound-Android-eOS-0.1.1-debug.apk
adb install downloads/BeatHound-Android-eOS-0.1.2-debug.apk
```
You can also transfer the APK to the device and open it. The device may ask you to allow installation from that file source.
+16
View File
@@ -86,6 +86,22 @@ npm run dev
Vite prints a local web address. Open that address in your browser. The dev server listens on all network interfaces, so it may also be reachable from another device on your local network.
### Run on an Android phone with live reload
Connect the Android phone to the computer with USB debugging enabled, and make sure both devices are on the same Wi-Fi network. In the project folder, start the Vite server in one terminal:
```sh
npm run dev
```
In a second terminal, install and launch the app on the connected phone:
```sh
npm run dev:android
```
The native app loads from the Vite server, so code changes appear without rebuilding the app. Keep both terminals running and press **Ctrl+C** in the second terminal to stop live reload.
### Checks and production build
```sh