你可以使用 Visual Studio (AGDE) 的 Android Game Development Extension,在 Windows 的 Visual Studio 中建構 Android 遊戲。AGDE 為 Visual Studio 擴充功能,可讓您透過現有的 Visual Studio 專案建構 Android 遊戲。
程式庫
AGDK 程式庫可讓您在 C 或 C++ 中開發和最佳化遊戲,同時存取 Android 應用程式開發程式庫和服務。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# Android Game Development Kit\n\nThe Android Game Development Kit (AGDK) is a set of tools and libraries that\nhelp you develop and optimize Android games while integrating with existing\ngame development platforms and workflows.\n\nUse, develop, or extend game engines\n------------------------------------\n\nAGDK provides tools and libraries for adding Android support when you\n[create or extend](/games/develop/custom/overview) a game engine. It also\nprovides plugins and integration that supports Android development on many\n[existing game engines](/games/engines/engines-overview).\n\nDevelop in Visual Studio\n------------------------\n\nYou can build Android games in Visual Studio on Windows by using the\n[Android Game Development Extension](/games/agde) for Visual Studio (AGDE).\nAGDE is a Visual Studio extension that allows you to use your existing Visual\nStudio projects to build Android games.\n\nLibraries\n---------\n\nThe AGDK libraries allow you to develop and optimize your game in C or C++ while\naccessing Android app development libraries and services.\n\n### Frame Pacing\n\nHelps games deliver frames at a consistent pace, and adjusts the pace based on\nthe performance. \n\n[**Reference**](/games/sdk/reference/frame-pacing)\n[**User Guide**](/games/sdk/frame-pacing)\n\n### Game Activity\n\nSupports game development in C or C++ with access to Android Jetpack and\ndependent services. \n\n[**Reference**](/reference/games/game-activity)\n[**User Guide**](/games/agdk/game-activity)\n\n### Game Controller\n\nManages game controllers by accessing connections, features, device information,\nand input data. \n\n[**Reference**](/reference/games/game-controller)\n[**User Guide**](/games/sdk/game-controller)\n\n### Game Text Input\n\nDisplays and hides the soft keyboard, and manages text updates. \n\n[**Reference**](/reference/games/game-text-input)\n[**User Guide**](/games/agdk/add-support-for-text-input)\n\n### Memory Advice API (Beta)\n\nHelps Android apps stay within safety limits for memory use by estimating memory\nuse and notifying apps if thresholds are exceeded. \n\n[**Reference**](/reference/games/memory-advice/group/memory-advice)\n[**User Guide**](/games/sdk/memory-advice/overview)\n\n### Oboe High-performance audio\n\nReduces audio latency, while avoiding device and platform audio issues. \n\n[**Reference**](https://google.github.io/oboe/namespaceoboe.html)\n[**User Guide**](/games/sdk/oboe)\n\n### Android Performance Tuner\n\nIdentifies performance issues related to quality settings, scenes, load times,\nand device models. \n\n[**Reference**](/games/sdk/reference/performance-tuner/custom-engine)\n[**User Guide**](/games/sdk/performance-tuner)\n\n### Android Performance Tuner Unity plugin\n\nIntegrates Android Performance Tuner with Unity. \n\n[**Reference**](/games/sdk/reference/performance-tuner/unity)\n[**User Guide**](/games/sdk/performance-tuner/unity)\n\n### Library wrapper (Beta)\n\nGenerate C/C++ code to access JAR libraries from your native app. This tool\nprovides a lightweight interface for accessing Java code without needing to\nwrite, debug, and maintain your own JNI.\n\n[**User Guide**](/games/develop/custom/wrapper)\n\nOptimization\n------------\n\nIn addition to [Android Performance Tuner](/games/sdk/performance-tuner), AGDK\nincludes the [Android GPU Inspector](/agi) (AGI), which is a tool that provides\nadvanced GPU and system profiling for graphic intensive games.\n\nFor a complete list of Android game optimization tools and best practices, see\nthe [optimization overview](/games/optimize/overview).\n\nAdaptability\n------------\n\nAdaptability is a new pillar of the AGDK focused on helping your game understand,\nrespond to, and influence changes in the devices thermal and performance state.\n\n### CPU performance hints\n\nEnables your game to influence dynamic CPU performance behavior without\noverheating the device and wasting power.\n\n[**User Guide**](/games/optimize/adpf#cpu-hints)\n\n### Thermal-state monitoring\n\nAchieve performance goals by understanding the thermal state and limitations of\na device.\n\n[**User Guide**](/games/optimize/adpf#thermal)\n\n### Game Mode\n\nOptimize gameplay by prioritizing characteristics, such as performance or\nbattery life, based on user preferences.\n\n[**User Guide**](/games/gamemode/about-API-and-interventions)\n\n### Game Manager API\n\nUpdate the game mode of your app, enabling Android OS to adjust to meet your\nperformance needs.\n\n[**Reference**](/reference/android/app/GameManager)"]]