Android 遊戲最佳化
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Android 最佳化工具和 API 的設計宗旨是找出效能瓶頸並確定裝置限制,同時針對遊戲和大量使用圖像的應用程式,以永續發展為目標提高成效。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],[],null,["# Android game optimization\n\nAndroid optimization tools and APIs are designed to find performance bottlenecks\nand determine device limitations while maximizing performance at sustainable\nlevels for games and graphic-intensive apps.\n\n- [Android GPU Inspector (AGI)](/agi): An Android system profiling tool that\n provides advanced GPU tracing and analysis for games and graphic intensive\n apps.\n\n- [Android Performance Tuner (APT)](/games/sdk/performance-tuner): Find\n performance issues related to quality settings, scenes, load times, and\n device models in your game.\n\n- [Android Dynamic Performance Framework (ADPF)](/games/optimize/adpf):\n Optimize games based on the dynamic thermal, CPU, and GPU management features\n of each device.\n\n- [Memory Advice API](/games/sdk/memory-advice/overview): Provide memory use\n estimates and threshold notifications to your game so it can stay at optimal\n levels that avoid LMKs.\n\n- [Game Mode API](/games/gamemode): Optimize gameplay by prioritizing\n characteristics, such as performance or battery life based on users settings\n or game specific configurations.\n\n- [Perfetto](https://perfetto.dev/docs/): Collects system-wide\n performance information and displays it in a web-based UI.\n\n- [Systrace](/topic/performance/tracing): Records system activity and generates\n reports that help identify performance issues.)\n\n- [CPU Profiler](/studio/profile): Inspect your app's CPU\n usage and thread activity, either in real time or from recorded traces.\n\n- [`Meminfo` class](/reference/android/os/Debug.MemoryInfo): Records a\n snapshot of your app's memory allocation. You can also use this feature through the\n [`meminfo dumpsys`](/studio/command-line/dumpsys#meminfo) command.\n\n- [Bug report](/studio/debug/bug-report): View device logs, stack traces, and\n other diagnostic information to help you find and fix bugs in your app."]]