Skip to content

Import error in EmbeddedGodotGame.kt during Android editor build#1312

Merged
Arctis-Fireblight merged 1 commit into
Redot-Engine:masterfrom
Daniyal09:patch-1
Jul 16, 2026
Merged

Import error in EmbeddedGodotGame.kt during Android editor build#1312
Arctis-Fireblight merged 1 commit into
Redot-Engine:masterfrom
Daniyal09:patch-1

Conversation

@Daniyal09

@Daniyal09 Daniyal09 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Hi! I was building the Android editor from the 26.2 stable source on Windows and ran into a small issue.

EmbeddedGodotGame.kt imports:

import org.godotengine.godot.utils.GameMenuUtils

but GameMenuUtils.kt is actually located in:

package org.godotengine.godot.editor.utils

Changing the import to:

import org.godotengine.godot.editor.utils.GameMenuUtils

fixed the build, and editor:assembleDebug completed successfully.

Summary by CodeRabbit

  • Bug Fixes
    • Fixed an issue affecting embedded game functionality on Android.

@Daniyal09
Daniyal09 requested review from a team July 16, 2026 12:35
@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 9c85cc7e-6b18-4a0a-9d6f-10a80373d581

📥 Commits

Reviewing files that changed from the base of the PR and between 6bb02aa and dfcffb3.

📒 Files selected for processing (1)
  • platform/android/java/editor/src/main/java/org/godotengine/editor/embed/EmbeddedGodotGame.kt

Walkthrough

The Android embedded game updates its GameMenuUtils import from org.godotengine.godot.utils to org.godotengine.godot.editor.utils; existing usage remains unchanged.

Changes

Embedded game import

Layer / File(s) Summary
Update GameMenuUtils import
platform/android/java/editor/src/main/java/org/godotengine/editor/embed/EmbeddedGodotGame.kt
GameMenuUtils is imported from the editor utilities package instead of the previous package.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the Android editor build import issue fixed in EmbeddedGodotGame.kt.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Shakai-Dev Shakai-Dev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM & is a small fix

@Arctis-Fireblight Arctis-Fireblight left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to contribute this fix! Much appreciated!

@Arctis-Fireblight
Arctis-Fireblight merged commit d3f956d into Redot-Engine:master Jul 16, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants