Posted by Scott Carbon-Ogden, Product Manager Android Games Today we’re launching the Android trò chơi Development Kit (AGDK), a full range of tools và libraries to help you develop, optimize, and deliver high chất lượng Android games.

AGDK features follow three key tenets:

Code built for game development.

Bạn đang xem: Droid gamers

All of our libraries have sầu been built và tested with performance in mind using C or C++ APIs.Reduce fragmentation. The AGDK tools & libraries work across many different Android versions. Most of these features will work on almost any device in use today.Built by Android, for Android. Features will be enhanced by future Android platform updates, and the libraries will provide backwards compatibility when possible.

In this initial launch, we’re focusing on covering three major areas where we heard a lot of feedbachồng from our developer community: Integrated workflows, C/C++ game libraries, và performance optimization.

Integrated workflows

Generally, the less you need to switch tools, the more efficient you can be, so with AGDK, we’re providing new tools khổng lồ facilitate Android game development in your primary IDE. We will focus on the bits of workflow where Google can add chất lượng value và solve sầu Android specific problems, while being compatible with whichever parts of your existing workflow you are comfortable with.

The Android Game Development Extension adds Android as a platsize target to Visual Studio. This enables existing multi-platsize Visual Studio game projects to lớn quickly integrate Android as a new platform. Learn more in the AGDE session.We are working with some of the most popular game engine developers to integrate our tools & libraries directly, so you can benefit from enhanced performance & stability without needing to lớn make any changes.

C/C++ game libraries

Start your C development with less Java Native sầu Interface (JNI) by using our game libraries for C/C++ development. Most games and game engines are written in C++, whereas Android development often requires using the Java programming language. Bridging these two languages using a Java Native sầu Interface requires effort & can introduce bugs or performance regressions. AGDK will help you build & customize game engines by providing C game libraries that minimize the use of the Java Programming language và JNI. This makes your games easier to lớn build, debug, và maintain.

We’re focusing on what you’ve told us are your top frustrations. Initially, this will involve building foundational classes for activity & input. Longer term, we plan to make more C libraries to lớn provide functionality that is commonly used across game engines. We"re incorporating our existing frame pacing và high-performance audio libraries inkhổng lồ this effort, và adding three new ones:

trò chơi Activity provides a foundation for C++ games to lớn be built on. It provides C interfaces for all the Android events that you"d expect, from screen rotation khổng lồ ứng dụng lifecycle. This way you can minimize the amount of development time you spover in the Java language. Unlượt thích Native sầu Activity, trò chơi Activity is compatible with fragments và extendable, making it easier khổng lồ integrate some of your favourite SDKs.Game Text input đầu vào provides a stable way to lớn use the software keyboard in C, that is officially supported and will work across Android versions.

Learn more about these libraries in our C/C++ libraries session.

To make integration as easy as possible, you can get all our libraries as a Maven dependency, as a pre-compiled Zip tệp tin, or as source code.

Xem thêm: Bỏ Túi 6 Bí Kíp Sửa Lỗi Máy Tính Không Có Ổ Đĩa Cd /Dvd, Vì Sao Hầu Hết Laptop Bây Giờ Không Còn Ổ Đĩa

Performance optimization

Our goal is to lớn help you find any stability or performance issues before launch & monitor your game post-launch khổng lồ catch any issues. We’re starting with the most important metrics like frame rate, loading time, & memory, and will be including new metrics over time.

We’re launching a major update lớn the Android GPU Inspector (AGI), that includes frame profiling functionality. This works alongside the existing GPU profiling elements to help you fully underst& any GPU related issues. AGI is currently in open beta, & you can learn more in our GPU inspector session. We also have a suite of profilers in Android Studio and AGDE for the system, power, CPU, & our new native sầu memory profiler that game devs can use to lớn find inefficiencies.

Visit g.co/android/AGDK for our lakiểm tra resources for Android game development và to download the AGDK. Cheông chồng out the di động session traông xã for the full lineup of sessions from the Google for Games Developer Summit.