Android Studio Koala | 2024.1.1(2024 年 6 月)
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
以下是 Android Studio Koala 中的新功能。
补丁版本
以下是 Android Studio Koala 和 Android Gradle 插件 8.5 中的补丁版本列表。
Android Studio Koala | 2024.1.1 补丁 1 和 AGP 8.5.1(2024 年 7 月)
此项次要更新包含这些 bug 修复。
使用 Gemini API 模板构建生成式 AI 应用
现在,您可以使用 Android Studio 构建一款通过 Google AI SDK 实现生成式 AI 的应用。
借助 Android Studio 中的 Gemini API 模板,您可以在应用中加入 AI 赋能的功能(例如依赖于文本生成和图片识别的功能),让用户感到惊喜。
如需了解如何开始使用,请参阅使用 Gemini API 模板。
“Running Devices”窗口中的并排布局
“正在运行的设备”窗口现在可以一次显示多个设备。如需使用并排布局,请前往菜单,然后点击分屏并移至右侧或分屏并移至下方。您还可以将设备标签页拖动到所选位置。
IntelliJ 2024.1 平台更新
Android Studio Koala 包含 IntelliJ 2024.1 平台版本,该版本具有许多新功能,例如新终端、编辑器中的“粘性行”(可帮助您跟踪自己所处的类或方法)等。如需了解详情,请参阅 IntelliJ 版本说明。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Android Studio Koala | 2024.1.1 (June 2024)\n\nThe following are new features in Android Studio Koala.\n\nPatch releases\n--------------\n\n\u003cbr /\u003e\n\nThe following is a list of the patch releases in Android Studio Koala\nand Android Gradle plugin 8.5.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### Android Studio Koala \\| 2024.1.1 Patch 1 and AGP 8.5.1 (July 2024)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nThis minor update includes\n[these bug fixes](/studio/releases/fixed-bugs/studio/2024.1.1#android-studio-koala-|-2024.1.1-patch-1).\n\n\u003cbr /\u003e\n\nBuild a Generative AI app using the Gemini API template\n-------------------------------------------------------\n\nYou can now use Android Studio to build an app that implements Generative AI\nusing the\n[Google AI SDK](http://ai.google.dev/tutorials/android_quickstart?utm_source=android&utm_medium=referral).\nThe Gemini API template in Android Studio lets you incorporate AI-powered\nfeatures, such as those that rely on text generation and image recognition, in\nyour app to delight your users.\n\nTo learn how to get started, see\n[Use the Gemini API template](/studio/projects/templates#GeminiApiTemplate).\n\nSide by side layout in Running Devices window\n---------------------------------------------\n\nThe **Running Devices** window can now show more than one device at a time. To\nuse the side by side layout, go to the menu and click **Split and Move Right**\nor **Split and Move Down**. You can also drag a device tab to the selected spot.\n\nIntelliJ 2024.1 platform updates\n--------------------------------\n\nAndroid Studio Koala includes the IntelliJ 2024.1 platform release, which has\nmany new features such as a new terminal, \"sticky lines\" in the editor that help\nyou keep track of what class or method you're in, and more. For more details see\nthe\n[IntelliJ release notes](https://www.jetbrains.com/idea/whatsnew/2024-1/)."]]