Uses modified official Android example (example/android
).
Do not request support for third-party packages. This package is intended to be used only for handy_tdlib package.
Preparations:
git clone https://github.com/tdlib/td
git clone https://github.com/HandyGram/tdlib-example td/example/android-json
cd td/example/android-json
./check-environment.sh
How to update Handy TDLib plugin:
- If you don't have Android SDK installed:
- Scroll down to command line tools only, download appropriate one for your platform
- Extract command line tools into:
- macOS: ~/Library/Android/sdk/cmdline-tools/latest
- Linux: ~/Android/sdk/cmdline-tools/latest
- Add this directory into PATH variable
- Run
./check-environment.sh
- Build OpenSSL: run
./build-openssl.sh
- Build TDLib: run
./build-tdlib.sh
- Gather output package from
./tdlib/tdlib.zip
cd
into Handy TDLib plugin directory- Run
./update-tdlib.sh [tdlib.zip path]