Skip to content

AGENTS.md: aui-remote with an Android device and over the local network - #18

Merged
Alex2772 merged 2 commits into
feat/ai-slopfrom
docs/remote-debugging-devices
Nov 27, 2026
Merged

Alex2772 merged 2 commits into
feat/ai-slopfrom
docs/remote-debugging-devices

Conversation

@Alex2772

Copy link
Copy Markdown
Contributor

Documentation only, on top of #17.

  • How to attach an Android device (aui-remote cli attach --adb), pair it and take screenshots, and how to use the local network instead of a cable (--lan, AUI_REMOTE_BIND, AUI_REMOTE_PORT, the Android system properties). The commands come from Remote agent: attach an Android device (adb) or a host in the local network aui#806.
  • Where aui-remote and the AUI sources are: the aui entry of build/package-lock.json (install_dir, source_dir in ~/.aui/repo).
  • Pitfalls collected on a large AUI game: start the agent from a macro that CMake defines for every build except the shipped release, not from AUI_DEBUG; a new port and certificate on every start; the device screen has to be on; the pairing code is in logcat; testOnly debug APKs need adb install -t; a custom-drawn UI is one view; JNI names; extractNativeLibs; 16 KB pages; versions of AGP, Kotlin and NDK.

The Android commands were checked on a real device with a build that contains aui-framework/aui#805 and #806, which are not merged yet. Wait for them before merging this.

How to attach a device (adb forward, logcat discovery, --lan), where aui-remote and the AUI
sources are (package-lock.json), and the pitfalls found on a real game: the macro for
non-release builds, restarts, the screen that has to be on, testOnly APKs, JNI names and
so on.
New CPack doesn't accept the config glued to -C. The Windows runner has LLVM 20 preinstalled,
which choco install keeps, while the STL of the current Visual Studio needs Clang 22.
@Alex2772
Alex2772 merged commit 54ce0ab into feat/ai-slop Nov 27, 2026
6 checks passed
@Alex2772
Alex2772 deleted the docs/remote-debugging-devices branch November 27, 2026 19:11
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.

1 participant