From a68c9bc0dfa38275c3e716c6ea14f81e7304eacf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Wed, 30 Dec 2020 13:41:58 +0800 Subject: [PATCH] Update compilation guide --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5c91367f1..3a078aa56 100644 --- a/README.md +++ b/README.md @@ -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[AppleEmoji|TwitterEmoji|NoEmoji]` +`./gradlew assemble` ## Faq