mirror of
https://github.com/jrpie/Launcher.git
synced 2025-04-19 10:20:51 +02:00
update release script and BUILD.md
This commit is contained in:
parent
74b448cd0f
commit
a7ce5b9222
2 changed files with 31 additions and 12 deletions
19
BUILD.md
19
BUILD.md
|
@ -8,10 +8,25 @@ Make sure that `JAVA_HOME` and `ANDROID_HOME` are set correctly.
|
|||
```
|
||||
git clone https://github.com/jrpie/Launcher
|
||||
cd Launcher
|
||||
./gradlew build
|
||||
|
||||
./gradlew assembleDefaultRelease
|
||||
```
|
||||
|
||||
Note that you need to sign the apk.
|
||||
This will create an apk file at `app/build/outputs/apk/default/release/app-default-release-unsigned.apk`.
|
||||
|
||||
Note that you need to sign it:
|
||||
```
|
||||
apksigner sign --ks "$YOUR_KEYSTORE" \
|
||||
--ks-key-alias "$YOUR_ALIAS" \
|
||||
--ks-pass="pass:$YOUR_PASSWORD" \
|
||||
--key-pass="pass:$YOUR_PASSWORD" \
|
||||
--alignment-preserved \
|
||||
--v1-signing-enabled=true \
|
||||
--v2-signing-enabled=true \
|
||||
--v3-signing-enabled=true \
|
||||
--v4-signing-enabled=true \
|
||||
app-default-release-unsigned.apk
|
||||
```
|
||||
|
||||
|
||||
See [this guide](https://developer.android.com/build/building-cmdline)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue