fryette / webview_cookie_manager

MIT License
48 stars 52 forks source link

Build error #46

Closed m0nx73r closed 3 years ago

m0nx73r commented 3 years ago
Launching lib\main.dart on Android SDK built for x86 in debug mode...

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':webview_cookie_manager:generateDebugRFile'.
> 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-a9d88a4d182bdae23e3a4989abfb7ea25954aad1'
           Constraint path 'io.flutter.plugins.webview_cookie_manager:webview_cookie_manager:1.0' --> 'io.flutter:flutter_embedding_debug:{strictly 1.0.0-a9d88a4d182bdae23e3a4989abfb7ea25954aad1}' because of the following reason: debugRuntimeClasspath uses version 1.0.0-a9d88a4d182bdae23e3a4989abfb7ea25954aad1

   > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-a9d88a4d182bdae23e3a4989abfb7ea25954aad1.
     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-a9d88a4d182bdae23e3a4989abfb7ea25954aad1'
           Constraint path 'io.flutter.plugins.webview_cookie_manager:webview_cookie_manager:1.0' --> 'io.flutter:flutter_embedding_debug:{strictly 1.0.0-a9d88a4d182bdae23e3a4989abfb7ea25954aad1}' because of the following reason: debugRuntimeClasspath uses version 1.0.0-a9d88a4d182bdae23e3a4989abfb7ea25954aad1

   > Could not resolve io.flutter:flutter_embedding_debug:{strictly 1.0.0-a9d88a4d182bdae23e3a4989abfb7ea25954aad1}.
     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-a9d88a4d182bdae23e3a4989abfb7ea25954aad1'
           Constraint path 'io.flutter.plugins.webview_cookie_manager:webview_cookie_manager:1.0' --> 'io.flutter:flutter_embedding_debug:{strictly 1.0.0-a9d88a4d182bdae23e3a4989abfb7ea25954aad1}' because of the following reason: debugRuntimeClasspath uses version 1.0.0-a9d88a4d182bdae23e3a4989abfb7ea25954aad1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 13s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

Tried adding, maven { url "https://storage.googleapis.com/download.flutter.io"}

to build.gradle file, also tried changing dns, but didn't work.

fryette commented 3 years ago

Please, feel free to open a PR

christofkost commented 3 years ago

I found a solution for this issue: Update Flutter to Version 2.2.3

oliverbytes commented 3 years ago

Same issue here. Just upgraded to Flutter version 2.5.1 then got this error.. Switched to Beta / Dev and fixed

Aulig commented 3 years ago

Same issue here. Just upgraded to Flutter version 2.5.1 then got this error.. Switched to Beta / Dev and fixed

Thank you so much for this suggestion - I wouldn't have thought that upgrading to an even higher version would work!

Flutter (Channel beta, 2.6.0-5.2.pre) works :)

anton-yarish commented 3 years ago

Same issue here. Just upgraded to Flutter version 2.5.1 then got this error.

anton-yarish commented 3 years ago

fixed with flutter channel dev > flutter upgrade

fryette commented 3 years ago

Please check in the new version.