Skip to content

Commit 0763d0f

Browse files
Update watchface/README.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 72e6e6b commit 0763d0f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

watchface/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ However, if you do wish to build these, follow these steps in order to run the s
3131

3232
1. [Install][install-ndk] the Android NDK.
3333
2. [Install][install-rust] Rust and Cargo.
34-
3. Make a copy of `Androidify/watchface/pack-java/.cargo-example` as
35-
`Androidify/watchface/pack-java/.cargo`.
36-
4. Open `Androidify/watchface/pack-java/.cargo/config.toml`.
37-
5. Adjust all the `linker` and `ar` paths, replacing `/Your/Path/To` with the paths to your NDK
38-
binaries. Note that each linker must support API level 26 and above, to match the Androidify
39-
`minSdk`. For example: `armv7a-linux-androideabi26-clang`.
40-
6. Execute the `./provide-libraries-to-androidify-project.sh` script. This will build the native
34+
3. Make a copy of `watchface/pack-java/.cargo-example` as
35+
`watchface/pack-java/.cargo`.
36+
4. Open `watchface/pack-java/.cargo/config.toml`.
37+
5. Adjust all the `linker` and `ar` paths, replacing `<NDK_PATH>` with the absolute path to your
38+
Android NDK installation. Note that each linker must support API level 26 and above, to match
39+
the Androidify `minSdk`. For example: `armv7a-linux-androideabi26-clang`.
40+
6. Execute the `watchface/provide-libraries-to-androidify-project.sh` script. This will build the native
4141
libraries and copy them to the `jniLibs` directory.
4242

4343
[install-ndk]: https://developer.android.com/studio/projects/install-ndk#default-version

0 commit comments

Comments
 (0)