惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Full Disclosure
Recorded Future
Recorded Future
T
Tenable Blog
S
Securelist
C
CERT Recently Published Vulnerability Notes
T
Threatpost
S
Schneier on Security
A
Arctic Wolf
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Register - Security
The Register - Security
Cisco Talos Blog
Cisco Talos Blog
AWS News Blog
AWS News Blog
K
Kaspersky official blog
T
True Tiger Recordings
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
P
Palo Alto Networks Blog
T
The Exploit Database - CXSecurity.com
小众软件
小众软件
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
Spread Privacy
Spread Privacy
Malwarebytes
Malwarebytes
P
Proofpoint News Feed
F
Fox-IT International blog
F
Fortinet All Blogs
P
Privacy & Cybersecurity Law Blog
G
GRAHAM CLULEY
量子位
Latest news
Latest news
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
Project Zero
Project Zero
T
Tailwind CSS Blog
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
I
Intezer
博客园_首页
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Darknet – Hacking Tools, Hacker News & Cyber Security

Flutter

flutter 开发的鸿蒙应用上架应用商店了 flutter 现在开发最佳的库用什么?或者有什么好用的脚手架吗? USB 摄像头求助。 flutter 引入 aar 包,运行报错,版本 3.38.9 用 Flutter 做了一个 Redis Desktop Manager flutter 生态这么差?写个 demo 两天都没调通 由于开发 flutter 然后测试是黑盒测试只会手点,开发了个插件 求助, flutter 项目混合式搭建问题 求助大神,为什么用 flutter 开发的安卓笔记软件卡顿、掉帧 写了一个 flutter 的状态管理库,大家参谋参谋。 开源一套 flutter UI 组件库,方便各位大佬快速进行跨平台开发,欢迎各位大佬 start Flutter 的学习曲线高吗?对于个人开发者来说是否值得 闲着没事开发一款网文写作应用—— Letter Studio 请教 flutter-windows 客户端白屏问题。 最简单的状态管理库 view_model 第一次写 flutter app 有个疑问 Flutter in_app_purchase 内购在 iOS 上的应用总结 另一个视角看 Flutter 的思维 招 flutter 工程师 兼职! 求推荐一个基础框架 Ubuntu 团队为什么无偿给 Flutter 写桌面多窗口功能? 请教: flutter 或 Android 更新、热更新方案 求一份 iOS 或者 Flutter 兼职 求助贴!关于 Flutter 接入 in_app_purchase 内购服务端部分二次验证的 flutter 是不是要升级所有的 widget 了? 上架 Play store 的问题... 应用未声明 QUERY_ALL_PACKAGES 权限却报错,是 firebase 导致的吗? App 开发新手请教一个 flutter 开发中的安卓问题 如何实现梯形 tab 切换 请教:大佬们 2025 年 Flutter 用哪个路由? flutter 支持 harmony os next 吗 flutter 项目二开, UI 修改与项目优化 flutter 是否能 vscode remote 远程开发和调试 ? 大家使用 flutter 开发的 app 用什么日活统计工具呢 Flutter 已经可以开发鸿蒙了吗 基于 flutter 的 二步验证 TOTP 应用 有没有可以学习的 flutter riverpod 的实战项目,希望推荐下更好的状态管理方案 flutter 开发桌面软件如何做出好看得布局, 比如像 vscode, reqable MBA M3 16GB 能玩 flutter 开发吗? 真的无力吐槽 flutter 了 有 flutter 大佬么?请教几个问题 Flutter 开发桌面应用程序,如何获取鼠标的绝对坐标? flutter 启动 ios 项目失败 n 次,求大神帮忙 Flutter 3.27 Flex 终于支持 spacing 了 听说有一个 app 安装后可以查看手机上哪些 app 是 flutter 开发的? flutter 实现这样的功能,红包感谢 flatter.cn 是国内外包公司的网站么 Flutter GoRouter 如何实现 SingleTop [求助]为什么 flutter 调试模式可以。发布模式打包出来的则无法运行。
V 友们, Flutter 编译报错可能是什么原因
yiyiniu · 2025-05-05 · via Flutter

服务器版本、环境版本如下:

java version "21.0.7" 2025-04-15 LTS Java(TM) SE Runtime Environment (build 21.0.7+8-LTS-245) Java HotSpot(TM) 64-Bit Server VM (build 21.0.7+8-LTS-245, mixed mode, sharing) Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.29.3, on Microsoft Windows [版本 10.0.19041.264], locale zh-CN) [√] Windows Version (10 专业版 64 位, 2004) [√] Android toolchain - develop for Android devices (Android SDK version 35.0.1) [√] Chrome - develop for the web [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.3) [√] Android Studio (version 2024.3) [√] VS Code (version 1.99.3) [√] Connected device (3 available) [√] Network resources

执行完命令:flutter build apk

报错如下:

FAILURE: Build failed with an exception.

  • What went wrong: Could not open cp_settings generic class cache for settings file 'C:\jk-katalon\workspace\XXXX\XXXX-app\android\settings.gradle' (C:\Users\cs.gradle\caches\8.0\scripts\8ju52g7d2hqvl85b219kdzjzv).

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 65

  • 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.

BUILD FAILED in 8s Running Gradle task 'assembleRelease'... 9.3s

┌─ Flutter Fix ───────────────────────────────────────────────────────────────────────────────────┐ │ [!] Your project's Gradle version is incompatible with the Java version that Flutter is using │ │ for Gradle. │ │ │ │ If you recently upgraded Android Studio, consult the migration guide at │ │ https://flutter.dev/to/java-gradle-incompatibility. │ │ │ │ Otherwise, to fix this issue, first, check the Java version used by Flutter by running flutter │ │ doctor --verbose. │ │ │ │ Then, update the Gradle version specified in │ │ C:\jk-katalon\workspace\XXXX\XXXX-app\android\gradle\wrapper\gradle-wrapper.properties to be │ │ compatible with that Java version. See the link below for more information on compatible │ │ Java/Gradle versions: │ │ https://docs.gradle.org/current/userguide/compatibility.html#java │ │ │ │ │ └─────────────────────────────────────────────────────────────────────────────────────────────────┘