wakelock_plus icon indicating copy to clipboard operation
wakelock_plus copied to clipboard

wakelock_plus:generateDebugUnitTestLintModel

Open dineshnaikb opened this issue 1 year ago • 2 comments

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.

dineshnaikb avatar Nov 06 '24 08:11 dineshnaikb

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 avatar Dec 17 '24 10:12 Mehdi-Yanat

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

Mehdi-Yanat avatar Dec 17 '24 23:12 Mehdi-Yanat