2022-10-12 14:03:29 +00:00
|
|
|
# Building
|
|
|
|
|
2022-10-12 21:09:53 +00:00
|
|
|
Clone repo, open project in Android Studio.
|
|
|
|
|
2022-10-12 14:03:29 +00:00
|
|
|
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
|
|
|
|
```
|
2022-10-12 21:09:53 +00:00
|
|
|
|
|
|
|
Set your API ID and hash in the rust code.
|
|
|
|
|
|
|
|
Sync gradle files, and "build" should work.
|