Description
Initally the app was running , but when i cleaned my build and started to build it again it failed and gave me this huge error.
I tried many steps for this liek -- ./gradlew clean, ./gradlew build, -rm rm -rf ~/.gradle/caches, but its still failing
$ ./gradlew build
Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
Task :gradle-plugin:shared:compileKotlin FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':gradle-plugin:shared:compileKotlin'.
Cannot access output property 'classpathSnapshotProperties.classpathSnapshotDir' of task ':gradle-plugin:shared:compileKotlin'. Accessing unreadable inputs or outputs is not supported. Declare the task as untracked by using Task.doNotTrackState(). For more information, please refer to https://docs.gradle.org/8.8/userguide/incremental_build.html#sec:disable-state-tracking in the Gradle documentation.
java.io.IOException: Cannot snapshot C:\Users\ADMIN\OneDrive\Desktop\undefeated.app\node_modules@react-native\gradle-plugin\shared\build\kotlin\compileKotlin\classpath-snapshot\shrunk-classpath-snapshot.bin: not a regular file
- 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 1m
3 actionable tasks: 3 executed