Build Android APK 0.1.2
This commit is contained in:
1 parent
b46d251c9f
commit
cb5517e249
31 files changed
+62
-92
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user