Skip to content

Redesign app into Chinese DSE past-paper progress tracker with capture, CI/NDK pin, and JVM target alignment - #1

Merged
MeowTechOpenSource merged 18 commits into
mainfrom
copilot/repurpose-flutter-config-chinese
Jan 10, 2026
Merged

Redesign app into Chinese DSE past-paper progress tracker with capture, CI/NDK pin, and JVM target alignment#1
MeowTechOpenSource merged 18 commits into
mainfrom
copilot/repurpose-flutter-config-chinese

Conversation

Copilot AI commented Jan 10, 2026

Copy link
Copy Markdown
Contributor
  • 移除預設科目資料並提供科目頁面入口,中文(HK)介面呈現科目、卷別、年份進度與錯題照片/備註
  • 新增錯題拍照與詳盡 UI 動畫體驗,支援分卷子分數、年度格狀紀錄與錯題回顧
  • 更新建置鏈:pin Flutter 3.24.4、SDK/Build-Tools 35、AGP 8.5.0、Kotlin 1.9.24、Gradle 8.7、NDK 26.1.10909125;移除未使用的 video 範例與相依
  • 將 Java/Kotlin 目標版本一致調整為 17(解決 JVM target 不一致的 release 編譯錯誤)
  • 待執行並記錄可用測試/檢查結果
Original prompt

Please repurpose all the flutter config of this system to make a system in Chinese for recording Progress of past papers.

In the home page, users can add subjects. In each subject, they can Manage papers (e.g Chem has 2 papers, so they add). The years e.g 2012-2025 is set in the global settings. A grid view show ing the no. Of times doing each paper and marks and a button to record /take photo of wrong MC will appear, after taking, optionally could Write a comments or add a picture. You could recall the wrong MC of each paper or at once in about subject interface (hide/show comment). In subject page there is a FAB to record doing the past paper, also in the subject paper settings, allow setting subscores, e.g part A. Show the score when clicked on the details of that paper.

IT is for users preparing for DSE Exam as error recording book and tracking their Progress doing papers.

Make it Chinese(HK) and make it lesss basic and more pretty and high end with animation.

You could remove all exisiting pages and start over.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: NovaMeowTech <57005629+NovaMeowTech@users.noreply.github.com>
Copilot AI changed the title [WIP] Repurpose Flutter config for Chinese progress tracker Redesign app into Chinese DSE past-paper progress tracker Jan 10, 2026
@MeowTechOpenSource

Copy link
Copy Markdown
Owner

@copilot Create an subject page and dont add hardcoded subject info. Also create a Github ci Where it will auto build apk in release when pushed. Also update pubspec.

Copilot AI and others added 2 commits January 10, 2026 01:46
Co-authored-by: NovaMeowTech <57005629+NovaMeowTech@users.noreply.github.com>
Co-authored-by: NovaMeowTech <57005629+NovaMeowTech@users.noreply.github.com>

Copilot AI commented Jan 10, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Create an subject page and dont add hardcoded subject info. Also create a Github ci Where it will auto build apk in release when pushed. Also update pubspec.

已移除硬編碼科目,科目列表預設為空並可進入科目頁新增卷別;錯題紀錄支援拍照(image_picker)並顯示本機/網路/資源圖片;更新 pubspec 與 CI(僅 main push/PR 自動建置 release APK)。截圖:screenshot。commit: 0e8417b

Co-authored-by: NovaMeowTech <57005629+NovaMeowTech@users.noreply.github.com>
Copilot AI changed the title Redesign app into Chinese DSE past-paper progress tracker Redesign app into Chinese DSE past-paper progress tracker with capture and CI Jan 10, 2026
@MeowTechOpenSource
MeowTechOpenSource marked this pull request as ready for review January 10, 2026 03:47
@MeowTechOpenSource

Copy link
Copy Markdown
Owner

@copilot Fix Build APK (release)
1m 9s
1
Run flutter build apk --release
2
flutter build apk --release
3
shell: /usr/bin/bash -e {0}
4
env:
5
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.17-10/x64
6
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.17-10/x64
7
FLUTTER_ROOT: /opt/hostedtoolcache/flutter/stable-3.38.6-x64
8
PUB_CACHE: /home/runner/.pub-cache
9

9
Running Gradle task 'assembleRelease'...
10
e: file:///opt/hostedtoolcache/flutter/stable-3.38.6-x64/packages/flutter_tools/gradle/src/main/kotlin/FlutterPlugin.kt:744:21 Unresolved reference: filePermissions
11
e: file:///opt/hostedtoolcache/flutter/stable-3.38.6-x64/packages/flutter_tools/gradle/src/main/kotlin/FlutterPlugin.kt:745:25 Unresolved reference: user
12
e: file:///opt/hostedtoolcache/flutter/stable-3.38.6-x64/packages/flutter_tools/gradle/src/main/kotlin/FlutterPlugin.kt:746:29 Unresolved reference: read
13
e: file:///opt/hostedtoolcache/flutter/stable-3.38.6-x64/packages/flutter_tools/gradle/src/main/kotlin/FlutterPlugin.kt:747:29 Unresolved reference: write
14
FAILURE: Build failed with an exception.
15

  • What went wrong:
    16
    Execution failed for task ':gradle:compileKotlin'.
    17

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
18
Compilation error. See log for more details
19

  • Try:
    20

Run with --stacktrace option to get the stack trace.
21
Run with --info or --debug option to get more log output.
22
Run with --scan to get full insights.
23

  • Get more help at https://help.gradle.org
    24
    BUILD FAILED in 1m 7s
    30
    Running Gradle task 'assembleRelease'... 69.2s
    31
    Gradle task assembleRelease failed with exit code 1
    32
    Error

Co-authored-by: NovaMeowTech <57005629+NovaMeowTech@users.noreply.github.com>

Copilot AI commented Jan 10, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Fix Build APK (release)
1m 9s
1...

已將 CI 的 Flutter 版本固定為 3.24.4 以避免最新版工具鏈的 Kotlin 編譯錯誤,重新觸發後應可正常產出 release APK。commit: ae036e7

@MeowTechOpenSource

Copy link
Copy Markdown
Owner

@copilot Failed due to gradle, check action run

Co-authored-by: NovaMeowTech <57005629+NovaMeowTech@users.noreply.github.com>

Copilot AI commented Jan 10, 2026

Copy link
Copy Markdown
Contributor Author

@copilot

A solution I found online...

已將 Android Gradle Plugin 升級至 8.5.0,Kotlin 插件至 1.9.24,並將 Gradle wrapper 提升到 8.7 以符合相依(commit: e096503)。請再跑 flutter build apk --release。

@MeowTechOpenSource

Copy link
Copy Markdown
Owner

@copilot Your project is configured with Android NDK 23.1.7779620, but the following plugin(s) depend on a different Android NDK version:

  • flutter_plugin_android_lifecycle requires Android NDK 26.1.10909125

  • image_picker_android requires Android NDK 26.1.10909125
    Fix this issue by using the highest Android NDK version (they are backward compatible).
    Add the following to /home/runner/work/random_stuff/random_stuff/android/app/build.gradle:

    android {
    ndkVersion = "26.1.10909125"
    ...
    }

Co-authored-by: NovaMeowTech <57005629+NovaMeowTech@users.noreply.github.com>

Copilot AI commented Jan 10, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Your project is configured with Android NDK 23.1.7779620, but the following plugin(s) depend on a different Android NDK version:

  • flutter_plugin_android_lifecycle requires Android NDK 26.1.1...

已依插件提示將 app ndkVersion 鎖定為 26.1.10909125,並在 CI 安裝對應 NDK(commit: 87a6a10)。請再跑 flutter build apk --release。

Copilot AI changed the title Redesign app into Chinese DSE past-paper progress tracker with capture and CI Redesign app into Chinese DSE past-paper progress tracker with capture and CI/NDK pin Jan 10, 2026
@MeowTechOpenSource

Copy link
Copy Markdown
Owner
  • What went wrong:
    Execution failed for task ':app:compileReleaseKotlin'.

Inconsistent JVM-target compatibility detected for tasks 'compileReleaseJavaWithJavac' (1.8) and 'compileReleaseKotlin' (17).

Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain
Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation

  • Try:

Run with --stacktrace option to get the stack trace. @copilot

1 similar comment
@MeowTechOpenSource

Copy link
Copy Markdown
Owner
  • What went wrong:
    Execution failed for task ':app:compileReleaseKotlin'.

Inconsistent JVM-target compatibility detected for tasks 'compileReleaseJavaWithJavac' (1.8) and 'compileReleaseKotlin' (17).

Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain
Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation

  • Try:

Run with --stacktrace option to get the stack trace. @copilot

Co-authored-by: NovaMeowTech <57005629+NovaMeowTech@users.noreply.github.com>

Copilot AI commented Jan 10, 2026

Copy link
Copy Markdown
Contributor Author
  • What went wrong:
    Execution failed for task ':app:compileReleaseKotlin'.

Inconsistent JVM-target compatibility detected for tasks 'compileReleaseJavaWithJavac' (1.8) and 'compileReleaseKotlin' (17)...

已將 app 的 Java/Kotlin 目標版本統一為 17,避免編譯任務 JVM target 不一致(commit: 906746f)。請再嘗試 flutter build apk --release。

Copilot AI changed the title Redesign app into Chinese DSE past-paper progress tracker with capture and CI/NDK pin Redesign app into Chinese DSE past-paper progress tracker with capture, CI/NDK pin, and JVM target alignment Jan 10, 2026
@MeowTechOpenSource
MeowTechOpenSource merged commit fa1dc89 into main Jan 10, 2026
2 checks passed
@MeowTechOpenSource

Copy link
Copy Markdown
Owner

@copilot allow custom paper year for each subject. Done can have no marks seperate it

@MeowTechOpenSource
MeowTechOpenSource deleted the copilot/repurpose-flutter-config-chinese branch January 10, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants