Add a touch more detail to readme instructions (#1)
Co-authored-by: expectocode <expectocode@gmail.com> Reviewed-on: #1
This commit is contained in:
parent
476f80cb5e
commit
5cff07bc6e
|
@ -1,5 +1,7 @@
|
||||||
# Building
|
# Building
|
||||||
|
|
||||||
|
Clone the repo, then open the project in Android Studio.
|
||||||
|
|
||||||
Make sure the required Android NDK platforms are installed, and the environment
|
Make sure the required Android NDK platforms are installed, and the environment
|
||||||
variable `ANDROID_NDK_TOOLCHAIN_DIR` is configured correctly.
|
variable `ANDROID_NDK_TOOLCHAIN_DIR` is configured correctly.
|
||||||
|
|
||||||
|
@ -8,3 +10,9 @@ On Windows, this might be a path such as the following (NDK "Side by side" SDK t
|
||||||
```
|
```
|
||||||
%LOCALAPPDATA%\Android\Sdk\ndk\25.1.8937393\toolchains\llvm\prebuilt\windows-x86_64\bin
|
%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.
|
||||||
|
|
Loading…
Reference in New Issue