Skip to content

Feature/android port#893

Open
psjuan97 wants to merge 8 commits intoTry:masterfrom
psjuan97:feature/android_port
Open

Feature/android port#893
psjuan97 wants to merge 8 commits intoTry:masterfrom
psjuan97:feature/android_port

Conversation

@psjuan97
Copy link

No description provided.

Copy link
Owner

@Try Try left a comment

Choose a reason for hiding this comment

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

Hi, @psjuan97 and thanks for PR!

It doesn't look as bad as was was expecting from android, however how do you handle AndroidManifest.xml / gradle / .java ? I'm pretty sure, that you shown manifest on discord discussion, but I don't see it in PR.

game/main.cpp Outdated
Copy link
Owner

Choose a reason for hiding this comment

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

Need to move into Tempest, as it's an implementation detail.

Copy link
Owner

Choose a reason for hiding this comment

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

Tempest::TextCodec::toUtf16

@psjuan97
Copy link
Author

I have it in a separated project, when i know a good way to included i will push it

@psjuan97 psjuan97 marked this pull request as ready for review February 17, 2026 21:47
@Try
Copy link
Owner

Try commented Feb 18, 2026

Hi, @psjuan97 !

At this point we need to find a way to deal with "android-spaghetti" cause by gradle, java, and swarm of xml's

Logically, where we want to be:

  • AndroidManifest.xml should be in root directory, same as Info.plist.in of iOS.
    • Same for icons eventually (minor thing, I don't want to focus on icons yet).
  • gradle - essentially useless thing enforced by android. Need to remove/avoid/hide/minimize it
  • Have special changes to root CMakeLists.txt is not acceptable. Proxy in android/app/cpp should be deleted.
  • We don't need quirks like tempest_android_get_app - should be main as usual. But let's deal with build first.

To be clear, all above ^ it's a direction, where I think we want to end-up. It probably will take quite a work and several iterations to cleanup android build system issues.
I see two options to deal with gradle:

  • Generate it on cmake configure step, same as for XCode project. Unfortunately cmake doesn't have such generator out of box AFAIK.
  • Generate MSVC project. With AGDE plugin should be fine. However plugin is close-source owned by google and if any issue we would be able to only work around.
    Here is nice example on how MSVC project generation can look-like: https://github.com/lectorguard/Android-CMake-VisualStudio-Sample/tree/master
  • Maybe non AGDE makefile project (this is a project template in MSVC) can be good option. This project typ supports custom build commands and suppose to be capable of debugging.
    But we would have to adjust it to newer NDK.

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.

2 participants

Comments