fryette / webview_cookie_manager

MIT License
48 stars 52 forks source link

Build error with Flutter 2.5.1 #53

Closed zorro2b closed 3 years ago

zorro2b commented 3 years ago

When building for Android with Flutter 2.5.1 on a project that uses webview_cookie_manager:

Could not resolve all files for configuration ':webview_cookie_manager:debugCompileClasspath'. Could not resolve io.flutter:flutter_embedding_debug:1.0.0-d1bc06f032f9d6c148ea6b96b48261d6f545004f. Required by: project :webview_cookie_manager Cannot find a version of 'io.flutter:flutter_embedding_debug' that satisfies the version constraints: Dependency path 'io.flutter.plugins.webview_cookie_manager:webview_cookie_manager:1.0' --> 'io.flutter:flutter_embedding_debug:1.0.0-d1bc06f032f9d6c148ea6b96b48261d6f545004f' Dependency path 'io.flutter.plugins.webview_cookie_manager:webview_cookie_manager:1.0' --> 'io.flutter:flutter_embedding_debug:1.0.0-b3af521a050e6ef076778bcaf16e27b2521df8f8' Constraint path 'io.flutter.plugins.webview_cookie_manager:webview_cookie_manager:1.0' --> 'io.flutter:flutter_embedding_debug:{strictly 1.0.0-b3af521a050e6ef076778bcaf16e27b2521df8f8}' because of the following reason: debugRuntimeClasspath uses version 1.0.0-b3af521a050e6ef076778bcaf16e27b2521df8f8

Removing the webview_cookie_manager from the dependencies allows the build to succeed.