Skip to content

ikaros-dev/app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 6, 2025
81dabf2 · Mar 6, 2025
Nov 17, 2024
Nov 14, 2024
Nov 18, 2024
Nov 8, 2024
Nov 14, 2024
Oct 18, 2024
Mar 6, 2025
Nov 14, 2024
Nov 8, 2024
Mar 6, 2025
Aug 22, 2024
Nov 14, 2024
Nov 14, 2024
Aug 29, 2024
Aug 22, 2024
Mar 6, 2025
Nov 6, 2022
Nov 14, 2024
Aug 22, 2024
Nov 18, 2024
Mar 6, 2025
Aug 28, 2024

Repository files navigation

ikaros_app

ikaros app by flutter

Json generate

flutter packages pub run build_runner build

Version

APP的版本规定

服务端版本.主版本.子版本

app的服务端版本只取服务端版本的主版本和子版本,忽略第三级别的Bug版本,

比如当前APP适配的服务端是 0.15.5, 那么服务端版本就是15,此时APP的版本就是 15.3.0

如果服务端版本是1.0.0,此时服务端的子版本最大曾是两位数,则,app的服务端版本是 1 * 100 + 0 = 100 ,此时APP的版本就是 100.3.0

Build

Android Studio最新版是JBR21,版本太高, 建议去Android Studio Archives下载老版本的, 推荐版本:Android Studio Jellyfish | 2023.3.1 April 30, 2024

git 子模块初始化:

git submodule init
git submodule update

cd dependencies/dart_vlc
flutter pub get

cd ../../
cd dependencies/flutter_vlc_player
flutter pub get

cd ../../
cd dependencies/ns_danmaku
flutter pub get


cd ../../
flutter pub get

Android Studio打开后,如果依赖里还有红线的,进对应的目录,flutter pub get下就OK了。

环境

flutter doctor -v
[✓] Flutter (Channel stable, 3.24.5, on Microsoft Windows [版本 10.0.22631.4460], locale zh-CN)
    • Flutter version 3.24.5 on channel stable at C:\Applications\flutter\3.24.5
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision dec2ee5c1f (15 hours ago), 2024-11-13 11:13:06 -0800
    • Engine revision a18df97ca5
    • Dart version 3.5.4
    • DevTools version 2.37.3

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\chivehao\AppData\Local\Android\Sdk
    • Platform android-35, build-tools 35.0.0
    • ANDROID_HOME = C:\Users\chivehao\AppData\Local\Android\Sdk
    • Java binary at: C:\Applications\android\android-studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Users\chivehao\AppData\Local\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.11.35327.3
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2023.3)
    • Android Studio at C:\Applications\android\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)

[✓] IntelliJ IDEA Community Edition (version 2024.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2024.3
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.94.2)
    • VS Code at C:\Users\chivehao\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 15 (API 35) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [版本 10.0.22631.4460]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 131.0.6778.69
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 126.0.2592.61

[✓] Network resources
    • All expected network resources are available.

• No issues found!