Eeshvar Das
Eeshvar Das

Reputation: 11

GameActivity template fails cmake build

Cmake fails using the GameActivity template.

To recreate the problem:

  1. Use the GameActivity template from Android Developer to create a new project.

How do I get GameActivity working?

I tried:

[CXX1405] exception while building Cmake using [local file path]/CMakeLists.txt: C++ build system [configure] failed when executing: [local file path]/cmake.exe

CXX1405 cmake exception while building android project

CMake will not be able to correctly generate this project after updating Android Studio

I tried navigating the Google Developers website for a solution. There was no step by step solution on Android Developer docs.

tried to adjust build dependencies.

Upvotes: 1

Views: 430

Answers (1)

Gerry
Gerry

Reputation: 1233

The updated template should work better:

If you are using NativeActivity, switching to GameActivity might reduce ANR in certain scenarios, hence GameActivity is in:

For new applications, starting with GameActivity 2.0.0 might be good.

Upvotes: 0

Related Questions