wakelock_plus
wakelock_plus copied to clipboard
Could not create task ':wakelock_plus:testDebugUnitTest'
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: D:\rahgan\build\wakelock_plus and C:\Users\abolf\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 1s Running Gradle task 'assembleRelease'... 2,417ms Gradle task assembleRelease failed with exit code 1 Process finished with exit code 1
Hi I am having same issue, and I don't even use package in my app which is strange thing. Anyone have any clue?
Hi i have a same issue any one have a solution.
@hkidevone which package(s) are you using? Check this out https://stackoverflow.com/a/79379519/6342456 and my findings. I was using package for html and switched to other package that does same/similar thing.
Follow procedure from URL and share your results here.
#84 Try this
dependency_overrides: wakelock_plus: path: packages/wakelock_plus wakelock_plus_platform_interface: path: packages/wakelock_plus_platform_interface
copy these packages from local/pub/cache etc and paste in your project new dir and paste in it and override dependency
This solved my problem