Skip to content

Build faild #323

Closed
Closed
@jaweii

Description

@jaweii
[+4896 ms] [+4960 ms] 
[  +13 ms]            Compiler message:
[   +1 ms] [   +2 ms] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:29:19: Error:
The method 'clear' isn't defined for the class 'Database'.
[   +1 ms] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[   +1 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'clear'.
[        ] [        ]     return _store.clear();
[        ] [        ]                   ^^^^^
[   +3 ms] [   +5 ms] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:34:19: Error:
The method 'containsKey' isn't defined for the class 'Database'.
[   +4 ms] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[   +7 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'containsKey'.
[  +10 ms] [        ]     return _store.containsKey(key);
[  +13 ms] [        ]                   ^^^^^^^^^^^
[   +1 ms] [        ] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:39:19: Error:
The method 'get' isn't defined for the class 'Database'.
[   +1 ms] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[   +1 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'get'.
[        ] [        ]     return _store.get(key);
[   +1 ms] [        ]                   ^^^
[        ] [        ] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:44:42: Error:
The method 'get' isn't defined for the class 'Database'.
[   +1 ms] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[   +1 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'get'.
[   +2 ms] [        ]     final bool storedItem = await _store.get(key);
[   +1 ms] [        ]                                          ^^^
[        ] [        ] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:50:44: Error:
The method 'get' isn't defined for the class 'Database'.
[   +1 ms] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[   +1 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'get'.
[        ] [        ]     final double storedItem = await _store.get(key);
[        ] [        ]                                            ^^^
[   +1 ms] [        ] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:56:41: Error:
The method 'get' isn't defined for the class 'Database'.
[   +1 ms] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[   +1 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'get'.
[   +1 ms] [        ]     final int storedItem = await _store.get(key);
[        ] [        ]                                         ^^^
[        ] [        ] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:62:44: Error:
The method 'get' isn't defined for the class 'Database'.
[   +2 ms] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[   +1 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'get'.
[        ] [        ]     final String storedItem = await _store.get(key);
[        ] [        ]                                            ^^^
[        ] [        ] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:68:50: Error:
The method 'get' isn't defined for the class 'Database'.
[        ] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'get'.
[        ] [        ]     final List<String> storedItem = await _store.get(key);
[        ] [        ]                                                  ^^^
[        ] [   +2 ms] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:74:19: Error:
The method 'delete' isn't defined for the class 'Database'.
[  +13 ms] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[   +2 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'delete'.
[   +3 ms] [        ]     return _store.delete(key);
[   +3 ms] [        ]                   ^^^^^^
[        ] [        ] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:79:19: Error:
The method 'put' isn't defined for the class 'Database'.
[   +1 ms] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[   +2 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'put'.
[   +7 ms] [        ]     return _store.put(value, key);
[   +1 ms] [        ]                   ^^^
[   +3 ms] [        ] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:84:19: Error:
The method 'put' isn't defined for the class 'Database'.
[   +4 ms] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[  +12 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'put'.
[   +1 ms] [        ]     return _store.put(value, key);
[   +2 ms] [        ]                   ^^^
[   +5 ms] [        ] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:89:19: Error:
The method 'put' isn't defined for the class 'Database'.
[   +5 ms] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[   +4 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'put'.
[  +16 ms] [        ]     return _store.put(value, key);
[  +14 ms] [        ]                   ^^^
[  +47 ms] [        ] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:94:19: Error:
The method 'put' isn't defined for the class 'Database'.
[  +47 ms] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[  +51 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'put'.
[  +37 ms] [        ]     return _store.put(value, key);
[  +13 ms] [        ]                   ^^^
[  +38 ms] [   +1 ms] /C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/parse_server_sdk-1.0.24/lib/src/storage/core_store_sem_impl.dart:99:19: Error:
The method 'put' isn't defined for the class 'Database'.
[  +19 ms] [        ]  - 'Database' is from 'package:sembast/src/api/v2/database.dart'
('/C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/sembast-2.3.0/lib/src/api/v2/database.dart').
[  +23 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'put'.
[  +42 ms] [        ]     return _store.put(values, key);
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.3, on Microsoft Windows [Version 10.0.17134.1], locale zh-CN)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[!] Android Studio (version 3.1)
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
[√] Connected device (1 available)

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions