1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-06-30 10:14:04 +00:00

Update compilation guide

This commit is contained in:
世界 2020-12-30 13:41:58 +08:00
parent 6672813cd9
commit a68c9bc0df
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -83,6 +83,8 @@ It is recommended to use the official script, otherwise you may not find rustup.
```shell
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
echo "source \$HOME/.cargo/env" >> $HOME/.bashrc && source $HOME/.cargo/env
rustup toolchain install nightly-2020-12-20
rustup override set nightly-2020-12-20
rustup target install armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android
```
@ -94,7 +96,7 @@ rustup target install armv7-linux-androideabi aarch64-linux-android i686-linux-a
7. Replace TMessagesProj/google-services.json if you want fcm to work.
8. Replace release.keystore with yours and fill out `ALIAS_NAME`, `KEYSTORE_PASS` and `ALIAS_PASS` in `local.properties`
`./gradlew assemble<Full/Mini>[AppleEmoji|TwitterEmoji|NoEmoji]<Debug/Release/ReleaseNoGcm>`
`./gradlew assemble<Full/Mini><Debug/Release/ReleaseNoGcm>`
## Faq