Skip to content

Could not create task ':wakelock_plus:testDebugUnitTest'. > this and base files have different roots: D:\projects\getepay_fnf\build\wakelock_plus and C:\Users\SUNIL.KUMAR.KUMAWAT\AppData\Local\Pub\Cache\hosted\pub.dev\wakelock_plus-1.2.10\android. #901

Open
@Sunilk047

Description

@Sunilk047

When I build the apk using flutter build apk --release
getting this error
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:\projects\getepay_fnf\build\wakelock_plus and C:\Users\SUNIL.KUMAR.KUMAWAT\AppData\Local\Pub\Cache\hosted\pub.dev\wakelock_plus-1.2.10\android.

For Reference
Flutter version 3.29.0 channel stable
Dart version 3.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions