You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 📜 Description
Updated tip for ninja setup.
## 💡 Motivation and Context
I removed out-of-date `YOUR_NINJA_PATH` variable, because now the path
is build automatically. The only thing to remember is to use proper
ninja version.
So I updated tip to reflect these changes and also updated language of
the code.
## 📢 Changelog
<!-- High level overview of important changes -->
<!-- For example: fixed status bar manipulation; added new types
declarations; -->
<!-- If your changes don't affect one of platform/language below - then
remove this platform/language -->
### Docs
- use `kt` for `gradle` config;
- re-word tip to make sure people use correct path.
## 🤔 How Has This Been Tested?
Tested via preview.
## 📸 Screenshots (if appropriate):
<img width="515" alt="image"
src="https://github.com/user-attachments/assets/68173e12-7fca-4dee-b75b-b9064d1f0248"
/>
## 📝 Checklist
- [x] CI successfully passed
- [x] I added new mocks and corresponding unit-tests if library API was
changed
Copy file name to clipboardExpand all lines: docs/docs/troubleshooting.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ If you experience this error on Windows you need to perform next steps:
98
98
- Open `android/app/build.gradle`
99
99
- Inside the `android.defaultConfig` block, add the following code:
100
100
101
-
```json
101
+
```kt
102
102
import org.apache.tools.ant.taskdefs.condition.Os
103
103
104
104
externalNativeBuild {
@@ -114,7 +114,7 @@ If you experience this error on Windows you need to perform next steps:
114
114
```
115
115
116
116
:::tip
117
-
Make sure to update `$YOUR_CMAKE_NINJA_PATH$` with the correct path to your `ninja.exe` file. For example, it might look something like `E:\\SDK\\cmake\\3.22.2\\bin\\ninja.exe` on Windows.
117
+
This setup automatically builds the correct path to `ninja` based on the CMake version (`3.31.1`) in your Android SDK. If you're using a different version, update `cmakeDir` accordingly.
Copy file name to clipboardExpand all lines: docs/versioned_docs/version-1.17.0/troubleshooting.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ If you experience this error on Windows you need to perform next steps:
98
98
- Open `android/app/build.gradle`
99
99
- Inside the `android.defaultConfig` block, add the following code:
100
100
101
-
```json
101
+
```kt
102
102
import org.apache.tools.ant.taskdefs.condition.Os
103
103
104
104
externalNativeBuild {
@@ -113,7 +113,7 @@ If you experience this error on Windows you need to perform next steps:
113
113
```
114
114
115
115
:::tip
116
-
Make sure to update `$YOUR_CMAKE_NINJA_PATH$` with the correct path to your `ninja.exe` file. For example, it might look something like `E:\\SDK\\cmake\\3.22.2\\bin\\ninja.exe` on Windows.
116
+
This setup automatically builds the correct path to `ninja` based on the CMake version (`3.31.1`) in your Android SDK. If you're using a different version, update `cmakeDir` accordingly.
0 commit comments