Skip to content

Android Build Failure with Target SDK 36: [GestureBackNavigation] error in RunnerActivity.java #15941

Description

@gm-bug-reporter

Description

When compiling an Android project using Target SDK 36 (or when lintRelease / Run Lint Checks is enabled), the build fails during the :lintRelease task due to a fatal Android Lint error in the core runtime Java code (RunnerActivity.java).

-- Error: If intercepting back events, this should be handled through the registration of callbacks; see https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture [GestureBackNavigation]
if (keyCode == KeyEvent.KEYCODE_BACK)

Steps To Reproduce

Open any clean project (or an existing project).

Set Android Target SDK to 36 in Game Options. GMS2 VM.

Enable Lint checks for Release builds.

Compile the project for Android.

Which version of GameMaker are you reporting this issue for?

IDE v2026.0.0.16 Runtime v2026.0.0.23

Which operating system(s) are you seeing the problem on?

Windows 10.0.19045.0

Which platform(s) are you seeing the problem on?

Android

b5f6b5e2-31d2-45f1-805a-c2da7dd98901

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gms2Issues when using GMS2 targets

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions