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

wakelock_plus:generateDebugUnitTestLintModel #78

Open
dineshnaikb opened this issue Nov 6, 2024 · 2 comments
Open

wakelock_plus:generateDebugUnitTestLintModel #78

dineshnaikb opened this issue Nov 6, 2024 · 2 comments

Comments

@dineshnaikb
Copy link

The org.gradle.api.plugins.Convention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.7/userguide/upgrading_version_8.html#deprecated_access_to_conventions
        at build_5d06ls4grkpx3pmw6dc6yjxt7$_run_closure3.doCall$original(D:\project\android\build.gradle:14)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':wakelock_plus:generateDebugUnitTestLintModel'.
> Could not resolve all dependencies for configuration ':wakelock_plus:debugUnitTestRuntimeClasspath'.
   > Could not create task ':wakelock_plus:testDebugUnitTest'.
      > this and base files have different roots: D:\project\build\wakelock_plus and C:\Users\name\AppData\Local\Pub\Cache\hosted\pub.dev\wakelock_plus-1.2.8\android.
@Mehdi-Yanat
Copy link

i got the same issue

  • 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: E:\Projects\beta-school-student\build\wakelock_plus and C:\Users\Click\AppData\Local\Pub\Cache\hosted\pub.dev\wakelock_plus-1.2.8\android.

specs
[√] Flutter (Channel stable, 3.27.0, on Microsoft Windows [Version 10.0.19045.5131], locale en-US)
• Flutter version 3.27.0 on channel stable at E:\Flutter\src\flutter
• Dart version 3.6.0
• DevTools version 2.40.2
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at C:\Users\Click\AppData\Local\Android\sdk
• Platform android-35, build-tools 35.0.0
• Java version Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239)

@Mehdi-Yanat
Copy link

@dineshnaikb the solution is to put the whole project in the partition C:/ that did solved my error

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

2 participants