Android Developers
Platform Android Studio Google Play Jetpack Kotlin Docs Games
  • English
  • Bahasa Indonesia
  • Español – América Latina
  • Português – Brasil
  • Tiếng Việt
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Sign in
  • Games
Overview What's new Guides Reference Resources
Android Developers
  • Platform
  • Android Studio
  • Google Play
  • Jetpack
  • Kotlin
  • Docs
  • Games
    • Overview
    • What's new
    • Guides
    • Reference
    • Resources
  • Introduction
  • New developer guide
  • Developer previews
  • Tools and libraries
  • Overview
  • Android Game Development Kit (AGDK)
    • Overview
    • Libraries
    • Download
    • Release notes
  • Android Studio
  • Android Game Development Extension for Visual Studio
    • Overview
    • Quickstart
    • Configure a project
    • Debugger
    • Measure app performance
    • Modify build.gradle files for Android Studio
    • Samples
    • Release notes
  • Android GPU Inspector
    • Overview
    • Quickstart
    • Supported devices
    • System profiling
      • Overview
      • View a system profile
      • GPU performance counters
      • Analyze a system profile
        • Frame processing times
        • Memory efficiency
        • Texture memory bandwidth usage
        • Vertex memory bandwidth usage
        • Thread scheduling
    • Frame profiling
      • Overview
      • Analyze a frame profile
        • Most expensive render passes
        • Vertex formats
        • Shader performance
      • Frame Profiler UI
        • Performance pane
        • Commands pane
        • Framebuffer pane
        • Geometry pane
        • Report pane
        • Shader pane
        • Memory pane
        • State pane
        • Textures pane
        • Texture pane
        • Pipeline view pane
    • Supported Vulkan extensions
    • Troubleshoot
  • Android Performance Tuner
  • Memory Advice API
    • Overview
    • Get started
  • Develop with game engines
  • Use prebuilt or turnkey game engines
    • Overview
    • Develop with Defold
      • Install and configure projects for Android
      • Support multiple form factors and screen sizes
      • Export to Android
    • Develop with Godot
      • Install and configure projects for Android
      • Godot renderer options
      • Support multiple form factors and screen sizes
      • Export to Android
    • Develop with Unity
      • Overview
      • Create an Android App Bundle with Unity
      • Integrate Play Asset Delivery
      • Unity Lighting in Mobile Games
      • Use Android Performance Tuner
        • Overview
        • Enable the API
        • Integrate the plugin
        • Initialize the library and verify operation
        • Define annotations, fidelity parameters, and quality levels
        • Add loading time recording functions
        • Run the monitor app
        • Review and publish
        • Troubleshoot common errors
        • Reference
    • Develop with Unreal
    • Requesting user permissions
    • Secure your game
  • Customize or port game engines
    • Overview
    • Getting started
      • Integrate GameActivity
        • Overview
        • Get started
        • Use game text input
        • Migrate from NativeActiviy
      • Configure graphics
      • Understand Android game loops
    • Process input events
      • Add touch support
      • Support text input
      • Support game controllers
        • Overview
        • Use the game controller library
        • Use custom controller device mappings
      • Add mouse support
      • Support sensor input
    • Achieve proper frame pacing
      • Overview
      • Frame pacing in OpenGL ES
        • Integrate
        • Update your build settings
        • Add frame pacing functions
        • Verify frame pacing improvement
      • Frame pacing in Vulkan
        • Integrate
        • Update your build settings
        • Add frame pacing functions
        • Verify frame pacing improvement
      • Reference
    • Integrate Android Performance Tuner
      • Overview
      • Run the demo app
      • Enable the API
      • Update your build settings
      • Define annotations, fidelity parameters, and settings
      • Add frame timing functions
      • Add loading time recording functions
      • Validate, package, and publish the APK
      • Troubleshoot common errors
      • Advanced usage
      • Reference
    • Output audio
      • Overview
      • Update build settings
      • Use Oboe
      • Code samples
      • Full Oboe guide
    • Manage memory
      • Overview
      • Debug native memory use
    • Deliver assets
    • Detect and diagnose crashes
  • Optimization and best practices
  • Improve game performance
  • Reduce game size
  • Improve device availability
    • Support 64-bit architectures
    • Support all screens
  • Game Mode
    • Overview
    • Optimize with Game Mode API
    • Game Mode interventions
  • Vulkan and OpenGL
    • 3D asset optimization
    • Vulkan Prerotation
    • Vertex data management
  • Game services and distribution
  • Overview
  • Google Play Games Services
    • Overview
    • Get started
    • Downloads
    • Setup Play Console
      • Set up Play Games Services
      • Enable features
      • Cloud project management
      • Publish
    • Manage features
      • Achievements
      • Leaderboards
      • Events
      • Saved games
      • Friends
      • Sign-in
    • Use the APIs
      • Android
        • Get started
        • Sign-in
        • Enable server-side access
        • Anti-piracy
        • Add features
          • Achievements
          • Leaderboards
          • Friends
          • Saved games
          • Events
          • Player stats
        • Troubleshooting
      • Unity
        • Overview
        • Get started
        • Add features
          • Achievements
          • Leaderboards
          • Saved games
          • Events
          • Friends
          • Player stats
      • C API - coming soon
      • Publishing API
        • Overview
        • Get started
        • Upload images
      • Management API
    • Requirements and guidelines
      • Quality checklist
      • Branding guidelines
      • Quota and rate limits
      • Data disclosure requirements
      • Terms of service
    • Support
  • Google Play Games for PC
    • Overview
    • Get started
    • Set up your game
      • PC compatibility
      • Graphics configuration
      • Device input
        • Set up input
        • Input SDK
          • Overview
          • Quickstart
      • Continuity
        • Overview
        • Continuity requirements
        • Verifying requirements
        • Existing identity solutions
    • Use the emulator
    • Test on Chrome OS
    • Publish and deploy
      • Package
      • Submit
      • Update
    • FAQ
  • Google Play Instant
  • Play as you download
  • Android game development
  • Games
  • Guides

開始使用 C++ 專用 Play 遊戲服務

我們即將推出 C++ SDK 第 2 版。

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2022-08-01 UTC.

  • Twitter Twitter
    Follow @AndroidDev on Twitter
  • YouTube YouTube
    Check out Android Developers on YouTube
  • LinkedIn LinkedIn
    Connect with the Android Developers community on LinkedIn
  • More Android

    • Android
    • Android for Enterprise
    • Security
    • Source
    • News
    • Blog
    • Podcasts
  • Discover

    • Gaming
    • Machine Learning
    • Privacy
    • 5G
  • Android Devices

    • Large screens
    • Wear OS
    • Android TV
    • Android for cars
    • Android Things
    • Chrome OS devices
  • Releases

    • Android 11
    • Android 10
    • Pie
    • Oreo
    • Nougat
    • Marshmallow
    • Lollipop
    • KitKat
  • Documentation and Downloads

    • Android Studio guide
    • Developers guides
    • API reference
    • Download Studio
    • Android NDK
  • Support

    • Report platform bug
    • Report documentation bug
    • Google Play support
    • Join research studies
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Privacy
  • License
  • Brand guidelines
  • Get news and tips by email Subscribe
  • English
  • Bahasa Indonesia
  • Español – América Latina
  • Português – Brasil
  • Tiếng Việt
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어