It lives.
Go to file
expectocode e1985e8c73 Mark gradlew as executable 2022-10-12 22:36:57 +01:00
.idea Commit gradle migration settings 2022-10-12 11:44:17 +02:00
app Integrate with Telegram's API 2022-10-12 21:26:51 +02:00
gradle/wrapper Initial Commit 2022-10-11 10:51:26 +02:00
native Integrate with Telegram's API 2022-10-12 21:26:51 +02:00
.gitignore Initial Commit 2022-10-11 10:51:26 +02:00
README.md Add a touch more detail to readme instructions (#1) 2022-10-12 23:25:41 +02:00
build.gradle Add dependency on native Rust project 2022-10-12 16:03:29 +02:00
gradle.properties Initial Commit 2022-10-11 10:51:26 +02:00
gradlew Mark gradlew as executable 2022-10-12 22:36:57 +01:00
gradlew.bat Initial Commit 2022-10-11 10:51:26 +02:00
settings.gradle Initial Commit 2022-10-11 10:51:26 +02:00

README.md

Building

Clone the repo, then open the project in Android Studio.

Make sure the required Android NDK platforms are installed, and the environment variable ANDROID_NDK_TOOLCHAIN_DIR is configured correctly.

On Windows, this might be a path such as the following (NDK "Side by side" SDK tool):

%LOCALAPPDATA%\Android\Sdk\ndk\25.1.8937393\toolchains\llvm\prebuilt\windows-x86_64\bin

Set your API ID and hash in the rust code.

Change the Cargo.toml to point to a local grammers source tree and remove the version argument.

Sync gradle files, and Android Studio's "build" and "run" should Just Work.