claude-code-android icon indicating copy to clipboard operation
claude-code-android copied to clipboard

[BUG]

Open heltonteixeira opened this issue 4 months ago • 6 comments

Environment

  • Device: Google Pixel 9 Pro XL
  • Android version: Android 17 (SDK 37)
  • Architecture: aarch64
  • Kernel version: 6.1.162-android14-11-g608191078141-ab15500264
  • Termux source: GitHub (TERMUX_VERSION=0.118.3, TERMUX_APK_RELEASE=GITHUB)
  • Install path: A (native Termux, glibc-runner)
  • Launch command used: claude → ~/.local/bin/claude → repo's self-healing wrapper at /data/data/com.termux/files/usr/bin/claude (verified version 2.1.207)
  • Node.js version: N/A for Path A (native binary launched via glibc-runner; system node is v26.4.0)
  • Claude Code version: 2.1.207 (Claude Code)

Steps to Reproduce

  1. Open a fresh Termux session on Android 17.
  2. Run claude (normal launch). The app starts and is fully usable.
  3. Observe the error line printed to stderr at startup.

Quickest way to see it in isolation: claude -v, claude --version, or claude mcp list. Note claude --help does not reproduce — only paths that hit the normal startup init.

Expected Behavior

claude launches cleanly with no error on stderr.

Actual Behavior

claude works normally and is fully functional — the launcher's smoke test verifies 2.1.207, sessions run fine, and the process exits 0. The only problem is a spurious error line printed to stderr on every launch. It's purely cosmetic noise with no impact on usage:

$ claude -v
2.1.207 (Claude Code)
error: Cannot read directory "/": EACCES

Error Output

error: Cannot read directory "/": EACCES

Stream attribution: the 2.1.207 … line goes to stdout, the error: … line goes to stderr (confirmed with 1>/dev/null / 2>/dev/null). Exit code is 0.

heltonteixeira avatar Jul 13 '26 23:07 heltonteixeira

Thanks for the report.

This is a known bug that I failed to document cleanly in the last update.

If you look at this PR and its corresponding issue you will see it was due to an issue that was resulting in a startup hang/ timeout which was Claude Code inoperable.

There is a fix but with it not being critical I am folding it into the next update. If you run into anything that says otherwise/ it being load-bearing feel free to update here/ file another issue.

ferrumclaudepilgrim avatar Jul 14 '26 06:07 ferrumclaudepilgrim

Any news on this? Thanks

dlecan avatar Jul 25 '26 19:07 dlecan

@dlecan yes. I am about to start testing later tonight and should have a push by tomorrow at latest.

ferrumclaudepilgrim avatar Jul 25 '26 20:07 ferrumclaudepilgrim

New push is in. You'll have to re-run install.sh but it fixes the visual bug.

I am hoping to work on a feature that auto checks the repo the same time it checks for Claude Code updates to tell users. Hopefully in the next push.

ferrumclaudepilgrim avatar Jul 27 '26 07:07 ferrumclaudepilgrim

Great, it works like a charm! Thank you

dlecan avatar Jul 27 '26 07:07 dlecan

Working perfectly!

Thanks!

heltonteixeira avatar Aug 02 '26 22:08 heltonteixeira