[GH-ISSUE #7459] [Issue]: Claude (Subscription) fails on Termux when the installed claude is older than the bundled one (no android-arm64 build) #4156

Closed
opened 2026-10-21 06:11:54 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @qrewq5003-oss on GitHub (Oct 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7459

Originally assigned to: @SpicyMarinara on GitHub.

Summary

On Android (Termux), a Claude (Subscription) connection fails whenever Marinara doesn't pick the host claude install. The Agent SDK ships no Claude Code build for Android, so falling back to the bundled copy cannot work there.

Expected behavior

On Termux, Claude (Subscription) uses the claude installed on the device, since there is nothing else it can run.

Actual behavior

Test Connection fails within a few milliseconds:

Connection failed: Claude (Subscription) request failed: Native CLI binary for android-arm64 not found. Reinstall @anthropic-ai/claude-agent-sdk without --omit=optional, or set options.pathToClaudeCodeExecutable.

findClaudeCodeInstall() (installed-cli.ts) uses the host install only when its version is at least the bundled one, and it does nothing when the bundled version is unknown. Otherwise the SDK falls back to its bundled build, and the SDK publishes no package for android-arm64. Its optional dependencies cover only linux, darwin and win32.

Steps to reproduce

  1. On Termux, install Claude Code so claude is on PATH, and run claude login.
  2. Have an installed claude older than the Claude Code version bundled with the Agent SDK in use (this happens after an SDK bump, before the host install updates).
  3. Add a Claude (Subscription) connection and click Test Connection.

Environment

  • Marinara Engine version: 2.5.0 (reproduced on v2.5.0 / 2.4.x; logic unchanged on current staging)
  • Install type: termux
  • OS + version: Android 12 (Linux 5.10, arm64)
  • Browser or app shell: mobile browser at 127.0.0.1:7860

Logs, screenshots, or video

Error text above, from the connection editor's Connection Tests panel.

Additional context

On 2.5.0 (before the installed-CLI selection) this failed on every Termux setup. Current staging works only while the host claude is at least as new as the bundled copy. Fix: on Android, accept any installed claude.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @qrewq5003-oss on GitHub (Oct 12, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7459 Originally assigned to: @SpicyMarinara on GitHub. ## Summary On Android (Termux), a **Claude (Subscription)** connection fails whenever Marinara doesn't pick the host `claude` install. The Agent SDK ships no Claude Code build for Android, so falling back to the bundled copy cannot work there. ## Expected behavior On Termux, Claude (Subscription) uses the `claude` installed on the device, since there is nothing else it can run. ## Actual behavior **Test Connection** fails within a few milliseconds: > Connection failed: Claude (Subscription) request failed: Native CLI binary for android-arm64 not found. Reinstall @anthropic-ai/claude-agent-sdk without --omit=optional, or set options.pathToClaudeCodeExecutable. `findClaudeCodeInstall()` (`installed-cli.ts`) uses the host install only when its version is at least the bundled one, and it does nothing when the bundled version is unknown. Otherwise the SDK falls back to its bundled build, and the SDK publishes no package for `android-arm64`. Its optional dependencies cover only linux, darwin and win32. ## Steps to reproduce 1. On Termux, install Claude Code so `claude` is on PATH, and run `claude login`. 2. Have an installed `claude` older than the Claude Code version bundled with the Agent SDK in use (this happens after an SDK bump, before the host install updates). 3. Add a Claude (Subscription) connection and click **Test Connection**. ## Environment - Marinara Engine version: 2.5.0 (reproduced on v2.5.0 / 2.4.x; logic unchanged on current `staging`) - Install type: termux - OS + version: Android 12 (Linux 5.10, arm64) - Browser or app shell: mobile browser at `127.0.0.1:7860` ## Logs, screenshots, or video Error text above, from the connection editor's Connection Tests panel. ## Additional context On 2.5.0 (before the installed-CLI selection) this failed on every Termux setup. Current `staging` works only while the host `claude` is at least as new as the bundled copy. Fix: on Android, accept any installed `claude`. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:11:54 +07:00
Author
Owner

@qrewq5003-oss commented on GitHub (Oct 12, 2026):

Working on this: @qrewq5003-oss (with Claude Code). PR incoming against staging.

<!-- gh-comment-id:6115622565 --> @qrewq5003-oss commented on GitHub (Oct 12, 2026): Working on this: @qrewq5003-oss (with Claude Code). PR incoming against `staging`.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 12, 2026):

Fixed on staging by #7460.

<!-- gh-comment-id:6133354192 --> @SpicyMarinara commented on GitHub (Oct 12, 2026): Fixed on staging by #7460.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4156
No description provided.