OmarYehiaDev

Error No.7

May 8th, 2020
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 2.89 KB | None | 0 0
  1. PS C:\Native\new\e_soor> flutter run
  2. Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with
  3. "--enable-software-rendering".
  4. Launching lib\main.dart on Android SDK built for x86 in debug mode...
  5.                                                                        
  6. Compiler message:
  7. ../../flutter/.pub-cache/hosted/pub.dartlang.org/flushbar-1.9.1/lib/flushbar_route.dart:273:8: Error: The method 'FlushbarRoute.install' has more
  8. required arguments than those of overridden method 'OverlayRoute.install'.
  9.   void install(OverlayEntry insertionPoint) {
  10.        ^
  11. ../../flutter/packages/flutter/lib/src/widgets/routes.dart:41:8: Context: This is the overridden method ('install').
  12.   void install() {
  13.        ^
  14. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  15. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  16. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  17. ../../flutter/.pub-cache/hosted/pub.dartlang.org/flushbar-1.9.1/lib/flushbar_route.dart:281:18: Error: Too many positional arguments: 0 allowed, but 1
  18. found.
  19. Try removing the extra positional arguments.
  20.     super.install(insertionPoint);
  21.                  ^
  22.                                                                        
  23. Compiler message:
  24. ../../flutter/.pub-cache/hosted/pub.dartlang.org/flushbar-1.9.1/lib/flushbar_route.dart:273:8: Error: The method 'FlushbarRoute.install' has more required arguments than those of overridden method 'OverlayRoute.install'.
  25.   void install(OverlayEntry insertionPoint) {
  26.        ^
  27. ../../flutter/packages/flutter/lib/src/widgets/routes.dart:41:8: Context: This is the overridden method ('install').
  28.   void install() {
  29.        ^
  30. ../../flutter/.pub-cache/hosted/pub.dartlang.org/flushbar-1.9.1/lib/flushbar_route.dart:281:18: Error: Too many positional arguments: 0 allowed, but 1
  31. found.
  32. Try removing the extra positional arguments.
  33.     super.install(insertionPoint);
  34.                  ^
  35. Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
  36. build failed.
  37.  
  38. FAILURE: Build failed with an exception.
  39.  
  40. * Where:
  41. Script 'C:\Native\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882
  42.  
  43. * What went wrong:
  44. Execution failed for task ':app:compileFlutterBuildDebug'.
  45. > Process 'command 'C:\Native\flutter\bin\flutter.bat'' finished with non-zero exit value 1
  46.  
  47. * Try:
  48. 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.  
  49.  
  50. * Get more help at https://help.gradle.org
  51.  
  52. BUILD FAILED in 15s
  53. Running Gradle task 'assembleDebug'...
  54. Running Gradle task 'assembleDebug'... Done                        15.8s
  55. Exception: Gradle task assembleDebug failed with exit code 1
  56. PS C:\Native\new\e_soor>
Add Comment
Please, Sign In to add comment