Git Product home page Git Product logo

amoshuke / mood-example Goto Github PK

View Code? Open in Web Editor NEW
419.0 11.0 67.0 114.16 MB

🐦 Flutter 3 心情记录 样例工程 - 国际化 i18n、uni 小程序、深色模式、多主题、本地数据管理、路由管理、状态管理、无障碍(Semantics)、异步 FFI、集成测试、图表统计、Excel 导入导出、游戏…

License: BSD 3-Clause "New" or "Revised" License

Kotlin 0.36% Swift 0.33% Objective-C 21.26% Dart 49.02% HTML 0.80% CSS 0.09% JavaScript 1.94% Ruby 0.17% C 20.51% C++ 5.49% CMake 0.03%
flutter flutter-examples flutter-demo flutter-app mood dart uniapp demo semantics mini-program

mood-example's Introduction

mood-example's People

Contributors

amoshuke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mood-example's Issues

背景图片

卡片上的背景图片是怎么制作的?

flutter run 报错 (Apple M1)

$ 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>

系统信息:

  • Apple M1 Pro
  • macOS 14.0 (23A344)

求帮助😭

ios开启小程序报错

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.