mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-03 00:30:19 +01:00
Update README.md
This commit is contained in:
parent
9ffc7787d6
commit
a9966a0353
13
README.md
13
README.md
@ -20,12 +20,17 @@ Telegram API manuals: https://core.telegram.org/api
|
||||
|
||||
MTproto protocol manuals: https://core.telegram.org/mtproto
|
||||
|
||||
### Usage
|
||||
### Compilation Guide
|
||||
|
||||
**Beware of using the dev branch and uploading it to any markets, in many cases it not will work as expected**.
|
||||
You will require Android Studio 3.4, Android NDK rev. 16b (https://developer.android.com/ndk/downloads/older_releases.html) and Android SDK 8.1
|
||||
|
||||
First of all, take a look at **src/main/java/org/telegram/messenger/BuildVars.java** and fill it with correct values.
|
||||
Import the root folder into your IDE (tested on Android Studio), then run project.
|
||||
1. Download the Telegram source code from https://github.com/DrKLO/Telegram ( git clone https://github.com/DrKLO/Telegram.git )
|
||||
2. Copy your release.keystore into TMessagesProj/config
|
||||
3. Fill out RELEASE_KEY_PASSWORD, RELEASE_KEY_ALIAS, RELEASE_STORE_PASSWORD in gradle.properties to access your release.keystore
|
||||
4. Go to https://console.firebase.google.com/, create two android apps with application IDs org.telegram.messenger and org.telegram.messenger.beta, turn on firebase messaging and download google-services.json, which should be copied to the same folder as TMessagesProj.
|
||||
5. Open the project in the Studio (note that it should be opened, NOT imported).
|
||||
6. Fill out values in TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java – there’s a link for each of the variables showing where and which data to obtain.
|
||||
7. You are ready to compile Telegram.
|
||||
|
||||
### Localization
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user