-
Notifications
You must be signed in to change notification settings - Fork 250
Description
Before submitting a new issue
- I tested using the latest version of the library, as the bug might be already fixed.
- I tested using a supported version of react native.
- I checked for possible duplicate issues, with possible answers.
Bug summary
Bug Report
Description
When trying to build the Android app with react-native-nitro-sound, the build fails with a CMake ninja error indicating circular dependency issues.
Expected Behavior
The Android build should complete successfully without CMake errors.
Actual Behavior
Build fails with the following error:
Execution failed for task ':react-native-nitro-sound:buildCMakeRelWithDebInfo[arm64-v8a]'.
com.android.ide.common.process.ProcessException: ninja: Entering directory C:...\node_modules\react-native-nitro-sound\android.cxx\RelWithDebInfo\5y674s67\arm64-v8a' [0/1] Re-running CMake... -- Configuring done -- Generating done -- Build files have been written to: C:/.../node_modules/react-native-nitro-sound/android/.cxx/RelWithDebInfo/5y674s67/arm64-v8a [0/1] Re-running CMake... -- Configuring done -- Generating done ... (repeats 100+ times) ``
from C:...\node_modules\react-native-nitro-sound\android
ninja: error: manifest 'build.ninja' still dirty after 100 tries
Library version
0.2.10
Project type
React Native (bare workflow)
React Native version
0.81.0
Expo SDK version (if applicable)
No response
Environment info
System:
OS: Windows 11 10.0.22631
CPU: (20) x64 13th Gen Intel(R) Core(TM) i5-13600KF
Memory: 7.49 GB / 31.85 GB
Binaries:
Node:
version: 22.18.0
path: C:\Program Files\nvm\node\node.EXE
Yarn:
version: 1.22.22
path: C:\Program Files\nvm\node\yarn.CMD
npm:
version: 10.9.3
path: C:\Program Files\nvm\node\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels:
- "28"
- "30"
- "31"
- "33"
- "33"
- "34"
- "36"
Build Tools:
- 30.0.3
- 33.0.1
- 33.0.2
- 34.0.0
- 34.0.0
- 35.0.0
- 36.0.0
System Images:
- android-30 | Google APIs Intel x86 Atom
- android-34 | Intel x86_64 Atom
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java:
version: 17.0.12
path: C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not foundSteps to reproduce
- Install [email protected] and [email protected]
- Run
cd android && ./gradlew assembleRelease - Build fails with ninja error
Reproducible example repository
have no link