:expo-dev-menu:generateDebugLintModel Error during building fro preview
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:
- Declare task ':expo-dev-menu:copyAssets' as an input of ':expo-dev-menu:generateDebugLintModel'.
- Declare an explicit dependency on ':expo-dev-menu:copyAssets' from ':expo-dev-menu:generateDebugLintModel' using Task#dependsOn.
- 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?
- [x] I have tested this issue on the latest Detox release and it still reproduces.
Did your test throw out a timeout?
- [x] I have followed the instructions under Identifying which synchronization mechanism causes us to wait too much.
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
I am also receiving the same error, If any one gets the solution, then please tell us
same error
Having same problem , any updates on this?
I got the same error when try to build preview internal app, any update on this issue ?
just got this problem after upgrade and downgrade expo and react-native, any update?
I am also fetching the same problem
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions!
For more information on bots in this repository, read this discussion.
> Task :expo-dev-menu:generateDebugLintModel FAILED
ASM Instrumentation process wasn't able to resolve some classes, this means that
the instrumented classes might contain corrupt stack frames. Make sure the
dependencies that contain these classes are on the runtime or the provided
classpath. Otherwise, the jvm might fail to load the corrupt classes at runtime
when running in a jvm environment like unit tests.
Classes that weren't resolved:
> androidx.appcompat.view.ContextThemeWrapper
> com.android.billingclient.api.PurchasesUpdatedListener
> com.android.installreferrer.api.InstallReferrerClient
> com.google.common.util.concurrent.ListenableFuture
> javax.naming.NamingException
> javax.naming.directory.Attributes
FAILURE: Build failed with an exception.
The issue has been closed for inactivity.
Having same problem , any updates on this?