amoshuke / mood-example Goto Github PK
View Code? Open in Web Editor NEW🐦 Flutter 3 心情记录 样例工程 - 国际化 i18n、uni 小程序、深色模式、多主题、本地数据管理、路由管理、状态管理、无障碍(Semantics)、异步 FFI、集成测试、图表统计、Excel 导入导出、游戏…
License: BSD 3-Clause "New" or "Revised" License
🐦 Flutter 3 心情记录 样例工程 - 国际化 i18n、uni 小程序、深色模式、多主题、本地数据管理、路由管理、状态管理、无障碍(Semantics)、异步 FFI、集成测试、图表统计、Excel 导入导出、游戏…
License: BSD 3-Clause "New" or "Revised" License
卡片上的背景图片是怎么制作的?
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.0, on macOS 14.0 23A344 darwin-arm64, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.86.0)
[✓] Connected device (3 available)
[✓] Network resources
• No issues found!
模拟器是 iPhone15 iOS 17
报错如下:
[ +1 ms] Error (Xcode): Building for 'iOS-simulator', but linking in object file
(/Users/zhuliangzhen/dev/learning/Mood-Example/ios/Runner/UniMPSDK/Core/Libs/liblibWeex.
a[arm64][2](uni_api_file_stream_export.o)) built for 'iOS'
[ ] Error (Xcode): Linker command failed with exit code 1 (use -v to see
invocation)
[ ] Could not build the application for the simulator.
[ ] Error launching application on iPhone 15.
[ +4 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 RunCommand.runCommand
(package:flutter_tools/src/commands/run.dart:811:9)
<asynchronous suspension>
#2 FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:1389:27)
<asynchronous suspension>
#3 AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#4 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#5 FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:355:9)
<asynchronous suspension>
#6 AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#7 FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:295:5)
<asynchronous suspension>
#8 run.<anonymous closure>.<anonymous closure>
(package:flutter_tools/runner.dart:119:9)
<asynchronous suspension>
#9 AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#10 main (package:flutter_tools/executable.dart:90:3)
<asynchronous suspension>
系统信息:
求帮助😭
在 init.dart
文件中找不到这个 AppLifecycleListener
方法,是您预留的方法没写完吗?或者如何找到这个方法。
此项目不能在虚拟机运行啊? 是哪个包的限制了??
Could not build the precompiled application for the device.
Error (Xcode): Library not found for -llibNavigator
flutter clean
以及flutter pub get
命令都试过了,还是报错
# Git最新的代码就是这个版本,无论是手动改成^2.6.1或者2.6.1以及最新版,都是不行
bonfire: 2.6.1
Flutter版本信息:
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.4, on Microsoft Windows [版本 10.0.19044.2130], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.6)
[√] Android Studio (version 2021.2)
[√] IntelliJ IDEA Ultimate Edition (version 2022.1)
[√] Connected device (3 available)
[√] HTTP Host Availability
运行构建命令:
flutter build apk --target-platform android-arm64
错误日志:
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:15:8: Error: Error when reading '/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/tiledjsonreader-1.2.5/lib/map/layer/object_group.dart': 系统找不到指定的文件�?
import 'package:tiledjsonreader/map/layer/object_group.dart';
^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:21:8: Error: Error when reading '/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/tiledjsonreader-1.2.5/lib/tile_set/tile_set.dart': 系统找不到指定的文件�?
import 'package:tiledjsonreader/tile_set/tile_set.dart';
^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:350:20: Error: Type 'ObjectGroup' not found.
void _addObjects(ObjectGroup layer) {
^^^^^^^^^^^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:424:42: Error: Type 'TileSet' not found.
TiledDataObjectCollision _getCollision(TileSet tileSetContain, int index) {
^^^^^^^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:520:5: Error: Type 'TileSet' not found.
TileSet tileSetContain,
^^^^^^^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:124:18: Error: 'ObjectGroup' isn't a type.
if (layer is ObjectGroup) {
^^^^^^^^^^^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:278:5: Error: 'TileSet' isn't a type.
TileSet? tileSetContain;
^^^^^^^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:284:24: Error: The getter 'tileSet' isn't defined for the class 'TileSetDetail'.
- 'TileSetDetail' is from 'package:tiledjsonreader/map/tile_set_detail.dart' ('/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/tiledjsonreader-1.2.5/lib/map/tile_set_detail.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'tileSet'.
return tileSet.tileSet != null &&
^^^^^^^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:290:37: Error: The getter 'tileSet' isn't defined for the class 'TileSetDetail'.
- 'TileSetDetail' is from 'package:tiledjsonreader/map/tile_set_detail.dart' ('/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/tiledjsonreader-1.2.5/lib/map/tile_set_detail.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'tileSet'.
tileSetContain = findTileset?.tileSet;
^^^^^^^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:350:20: Error: 'ObjectGroup' isn't a type.
void _addObjects(ObjectGroup layer) {
^^^^^^^^^^^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:424:42: Error: 'TileSet' isn't a type.
TiledDataObjectCollision _getCollision(TileSet tileSetContain, int index) {
^^^^^^^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:434:43: Error: The getter 'type' isn't defined for the class 'TileSetItem'.
- 'TileSetItem' is from 'package:tiledjsonreader/tile_set/tile_set_item.dart' ('/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/tiledjsonreader-1.2.5/lib/tile_set/tile_set_item.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'type'.
String type = tileSetItemList.first.type ?? '';
^^^^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:520:5: Error: 'TileSet' isn't a type.
TileSet tileSetContain,
^^^^^^^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:581:29: Error: The getter 'TileSet' isn't defined for the class 'TiledWorldMap'.
- 'TiledWorldMap' is from 'package:bonfire/tiled/tiled_world_map.dart' ('/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'TileSet'.
tileSet.tileSet = TileSet.fromJson(_result);
^^^^^^^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/tiled/tiled_world_map.dart:581:19: Error: The setter 'tileSet' isn't defined for the class 'TileSetDetail'.
- 'TileSetDetail' is from 'package:tiledjsonreader/map/tile_set_detail.dart' ('/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/tiledjsonreader-1.2.5/lib/map/tile_set_detail.dart').
Try correcting the name to the name of an existing setter, or defining a setter or field named 'tileSet'.
tileSet.tileSet = TileSet.fromJson(_result);
^^^^^^^
/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/bonfire-2.6.1/lib/util/overlay_manager.dart:43:42: Error: The getter 'value' isn't defined for the class 'OverlayManager'.
- 'OverlayManager' is from 'package:flame/src/game/overlay_manager.dart' ('/E:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/flame-1.4.0/lib/src/game/overlay_manager.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'value'.
Set<String> get value => game.overlays.value;
^^^^^
FAILURE: Build failed with an exception.
* Where:
Script 'E:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1159
* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'E:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1
* 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 1m 6s
Running Gradle task 'assembleRelease'... 68.4s
Gradle task assembleRelease failed with exit code 1
您好,请问侧边栏怎么调整到左上角?
我在flutter新手,刚在学习您的这个框架
体验了下 直接卧槽 牛逼!!!
官方也没有提供远程加载的方式,可以给出简单的实例代码么?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.