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

FAILURE: Build failed with an exception. What went wrong: Could not determine the dependencies of task ':wakelock_plus:generateReleaseLintModel'. #892

Open
hkidevone opened this issue Jan 27, 2025 · 0 comments

Comments

@hkidevone
Copy link

When I build apk app using 'flutter build apk' it shows this error. Does anyone have a solution.

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':wakelock_plus:generateReleaseLintModel'.

Could not resolve all dependencies for configuration ':wakelock_plus:releaseUnitTestRuntimeClasspath'.
Could not create task ':wakelock_plus:testDebugUnitTest'.
> this and base files have different roots: build_directory\build\wakelock_plus and C:\Users\admin\AppData\Local\Pub\Cache\hosted\pub.dev\wakelock_plus-1.2.10\android.

  • 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 11s
Running Gradle task 'assembleRelease'... 12.3s
Gradle task assembleRelease failed with exit code 1

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

No branches or pull requests

1 participant