PS C:UsersdevelOneDriveDocumentsmayamayaverse-rn> npx react-native run-android
(node:8032) Warning: Accessing non-existent property ‘padLevels’ of module exports inside circular dependency
(Use node --trace-warnings ...
to show where the warning was created)
info JS server already running.
info Installing the app…
Task :app:checkDebugAarMetadata FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings
22 actionable tasks: 2 executed, 20 up-to-date
info ???? Tip: Make sure that you have set up your development environment correctly, by running react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:app:checkDebugAarMetadata’.
Multiple build operations failed.
Cannot snapshot output property ‘outputDirectory’.
Cannot snapshot output property ‘outputDirectory’.
Cannot snapshot output property ‘outputDirectory’.
Cannot snapshot output property ‘outputDirectory’.
Cannot snapshot output property ‘outputDirectory’.
Cannot snapshot output property ‘outputDirectory’.
- Try:
Run with –stacktrace option to get the stack trace.
Run with –info or –debug option to get more log output.
Run with –scan to get full insights.
- Get more help at https://help.gradle.org
BUILD FAILED in 10s
error Failed to install the app.
info Run CLI with –verbose flag for more details.
how to solve this proble
i run project in react native build faild
JAYESH BOTADRA is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.