Android 游戏优化
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Android 优化工具和 API 旨在找出性能瓶颈并确定设备限制,同时在可持续的程度上最大限度地提升游戏和图形密集型应用的性能。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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."]]