-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution failed for task ':app:checkDebugAarMetadata'. #48116
Comments
Warning Unsupported version: It looks like your issue or the example you provided uses an unsupported version of React Native. |
Warning Unsupported version: It looks like your issue or the example you provided uses an unsupported version of React Native. |
Am using the latest React Native version 0.76.3 |
I have Shared all my logs with this Issue While am disabling the perticular line the Bulid.gradle its getting oteh rset of issues |
You're not using the React Native Gradle Plugin:
so you won't be able to build. and the community template: to make sure your project is configured correctly |
@Syedanas007 is that got foxed for you ?? i am also facing same issue |
@cortinico While am enabling it was getting other issues this is the error while am uncommenting the Gradile plugin 1: Task failed with an exception.
2: Task failed with an exception.
BUILD FAILED in 4s |
@cortinico Also While i resolve this as per template D:\Test Env\EnforceSolution-Mobile_Tester>npm run android
warn Package rn-fetch-blob contains invalid configuration: "dependency.hooks" is not allowed. Please verify it's properly linked using "npx react-native config" command and contact the package maintainers about this. 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. For more on this, please refer to https://docs.gradle.org/8.10.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx 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.
BUILD FAILED in 5s D:\Test Env\EnforceSolution-Mobile_Tester> |
We can't help without a reproducer. Please use this template https://github.com/react-native-community/reproducer-react-native and provide a project that fails in the same way as yours |
I have used the same template which was there in the Templee which you have given |
Where is the link to your repro then? |
This the repro https://github.com/Syedanas007/Enforce_app And in this i have aligned everything as per the Template which you have given me @cortinico Could able to resolve the hermes and react-android also |
Description
Steps to reproduce
1.Npm Install
2.Npm Run android
React Native Version
0.76.3
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/Syedanas007/EnforceApp
Screenshots and Videos
Android/app/Bulid.gradle
Android/Bulid.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
package.json
The text was updated successfully, but these errors were encountered: