daohoangson / flutter_widget_from_html

Flutter package to render html as widgets that supports hyperlink, image, audio, video, iframe and many other tags.
https://pub.dev/packages/flutter_widget_from_html
MIT License
635 stars 235 forks source link

Could not determine the dependencies of task ':wakelock_plus:generateReleaseLintModel'. #1262

Closed Mushfiq1060 closed 2 weeks ago

Mushfiq1060 commented 4 months ago

When I try to build release apk i got the following error:

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:\Flutter\app\my_app\build\wakelock_plus and C:\Users\user\AppData\Local\Pub\Cache\hosted\pub.dev\wakelock_plus-1.2.5\android.
daohoangson commented 4 months ago

Are you adding this package to a new project or have you recently updated it to a new version?

Anuraag93 commented 4 months ago

For me this is occuring when adding this package to my project

Anuraag93 commented 4 months ago

I used flutter_widget_from_html_core: ^0.14.12 package instead of flutter_widget_from_html: ^0.15.0 to fixed this error.

daohoangson commented 4 months ago

Can you share Flutter version and your pubspec.yaml?