Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8月5日iOS运行的时候报错了,之前都不会是不是依赖的back_button_interceptor更新了,keyboard没有适配呀? #55

Closed
cxycwz opened this issue Aug 5, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@cxycwz
Copy link

cxycwz commented Aug 5, 2020

/Users/avalanching/iOS_word/ios_app/../../flutter_work/flutter_module/.ios/Flutter/flutter_export_environment.sh: line 8: inherited: command not found

Compiler message:
../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/cool_ui-0.6.0/lib/dialogs/weui_toast.dart:207:29: Error: The argument type 'bool Function(bool)' can't be assigned to the parameter type 'bool Function(bool, RouteInfo)'.

  • 'RouteInfo' is from 'package:back_button_interceptor/src/back_button_interceptor.dart' ('../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/back_button_interceptor-4.3.0/lib/src/back_button_interceptor.dart').
    BackButtonInterceptor.add((stopDefaultButtonEvent){
    ^
    ../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/cool_ui-0.6.0/lib/keyboards/keyboard_manager.dart:170:31: Error: The argument type 'bool Function(bool)' can't be assigned to the parameter type 'bool Function(bool, RouteInfo)'.
  • 'RouteInfo' is from 'package:back_button_interceptor/src/back_button_interceptor.dart' ('../../development/flutter/.pub-cache/hosted/pub.flutter-io.cn/back_button_interceptor-4.3.0/lib/src/back_button_interceptor.dart').
    BackButtonInterceptor.add((_) {
    ^
    Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
    build failed.
    Command PhaseScriptExecution failed with a nonzero exit code
@issue-label-bot issue-label-bot bot added the bug Something isn't working label Aug 5, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.82. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@Im-Kevin
Copy link
Owner

Im-Kevin commented Aug 5, 2020

请使用新版本

@roychenggit
Copy link

../../.pub-cache/hosted/pub.flutter-io.cn/cool_ui-0.6.3/lib/keyboards/keyboard_manager.dart:24:10: Context: Found this candidate, but the arguments don't match.
static init(KeyboardRootState root, BuildContext context) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants