Anwar907

running error

Sep 21st, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. Launching lib/main.dart on SM G610F in debug mode...
  2. Initializing gradle... 1.1s
  3. Resolving dependencies... 4.9s
  4. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  5. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  6. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  7.  
  8. Compiler message:
  9. ../../flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-0.6.2/lib/src/cached_network_image_provider.dart:46:31: Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'Iterable<DiagnosticsNode> Function()'.
  10. - 'StringBuffer' is from 'dart:core'.
  11. - 'Iterable' is from 'dart:core'.
  12. - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('../../flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
  13. Try changing the type of the parameter, or casting the argument to 'Iterable<DiagnosticsNode> Function()'.
  14. informationCollector: (StringBuffer information) {
  15. ^
  16. Compiler failed on /home/boot/workspace/bpkadapp/lib/main.dart
  17.  
  18. FAILURE: Build failed with an exception.
  19.  
  20. * Where:
  21. Script '/home/boot/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 765
  22.  
  23. * What went wrong:
  24. Execution failed for task ':app:compileFlutterBuildDebugArm'.
  25. > Process 'command '/home/boot/flutter/bin/flutter'' finished with non-zero exit value 1
  26.  
  27. * Try:
  28. 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.
  29.  
  30. * Get more help at https://help.gradle.org
  31.  
  32. BUILD FAILED in 14s
  33. Running Gradle task 'assembleDebug'...
  34. Running Gradle task 'assembleDebug'... Done 15.1s
  35. Gradle task assembleDebug failed with exit code 1
Add Comment
Please, Sign In to add comment