Mac Android studio 升级LadyBug 版本,所产生的bug

当Build 出现,这样的文字以后:

Your build is currently configured to use incompatible Java 21.0.3 and Gradle 7.3.3. Cannot sync the project.

We recommend upgrading to Gradle version 8.9.

The minimum compatible Gradle version is 8.5.

The maximum compatible Gradle JVM version is 17.

Possible solutions:

  • Upgrade to Gradle 8.9 and re-sync
  • Upgrade to Gradle 8.5 and re-sync

请按照这些步骤下设置,即可解决问题

到Android Studo 目录下 ------> 选择Setting ------> 再来搜索Gradle,选择Build Tools 下的Gradle 模块 ------> 选择Gradle JDK 选择 11.0.18版本

------> 再来进入build.gradle文件,点击Try Again

如果还是无法解决

那么就清空Android Studio 所有的缓存,再来Clean 和Rebuild一下,基本上,就解决了

相关推荐
Everbrilliant8913 小时前
macOs上ffmpeg带入libx264库交叉编译
macos·ffmpeg·ffmpeg交叉编译·ffmpeg libx264·libx264交叉编译·libx264.so·libx264.a
kymjs张涛21 小时前
零一开源|前沿技术周刊 #14
android·android studio·android jetpack
咖啡の猫21 小时前
安装Android Studio
android·ide·android studio
林泽毅1 天前
Mac训练大模型:MLX-LM框架LoRA训练Qwen3并集成SwanLab进行可视化
人工智能·深度学习·macos·机器学习·大模型·模型训练
香飘飘Dwj2 天前
mac m4执行nvm install 14.19.1报错,安装低版本node报错解决
macos
小镇数字青年2 天前
MAC spotlight 搜不到应用程序和 tags 生效
macos
小墙程序员2 天前
一文了解 Android 5 到 16 期间跨进程通信(IPC) 的使用
android·android studio
cpuwolf2 天前
CMake xcode编译器属性设置技巧
ide·macos·xcode
Want5953 天前
Python Android Studio Logo
开发语言·python·android studio
2501_928094654 天前
Magnet Pro Macbook窗口分屏管理(Mac窗口分屏)
macos·mac·窗口分屏