Skip to content
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

:expo-dev-menu:generateDebugLintModel Error during building fro preview #4701

Open
2 tasks done
Flin-z opened this issue Feb 10, 2025 · 1 comment
Open
2 tasks done

Comments

@Flin-z
Copy link

Flin-z commented Feb 10, 2025

What happened?

Hi guys hope someone could help regarding the error I've been facing for several days and I've already tried different type of solution found on the internet but i encounter new errors. So I've started creating a new project and copying my files to the new project. but still facing the same error.

:expo-dev-menu:generateDebugLintModel

Task :expo-dev-menu:generateDebugLintModel FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem was found with the configuration of task ':expo-dev-menu:generateDebugLintModel' (type 'LintModelWriterTask').
    • Gradle detected a problem with the following location: '/Users/[user-name]/Desktop/Projects/dtrack-app/node_modules/expo-dev-menu/android/src/debug/assets'.

      Reason: Task ':expo-dev-menu:generateDebugLintModel' uses this output of task ':expo-dev-menu:copyAssets' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

      Possible solutions:

      1. Declare task ':expo-dev-menu:copyAssets' as an input of ':expo-dev-menu:generateDebugLintModel'.
      2. Declare an explicit dependency on ':expo-dev-menu:copyAssets' from ':expo-dev-menu:generateDebugLintModel' using Task#dependsOn.
      3. Declare an explicit dependency on ':expo-dev-menu:copyAssets' from ':expo-dev-menu:generateDebugLintModel' using Task#mustRunAfter.

      For more information, please refer to https://docs.gradle.org/8.10.2/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

Currently using the new Architecture SDK 52
using react native 0.77

What was the expected behaviour?

this happened when i execute "./gradlew build". But when i run the project "npm run dev" or "npx expo run:android" I'm trying to run it using the gradlew because i always get error everytime i build it using the "eas build" script I'm almost consume my free monthly build for eas but still getting error when building it.

Was it tested on latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version:
React Native version: 52
Has Fabric (React Native's new rendering system) enabled: (yes/no)
Node version:
Device model:
Android version:
Test-runner (select one): jest / other

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste your device.log here!

More data, please!

No response

@enggsatyamraj
Copy link

I am also receiving the same error, If any one gets the solution, then please tell us

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants