mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2922] [Issue]: APK install on Android cannot download local runtime (Install Runtime button closes immediately) #1500
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#1500
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Jun 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2922
Originally assigned to: @SpicyMarinara on GitHub.
Summary
On Android APK installs, tapping Install Runtime for the local model runtime appears to open briefly and then closes immediately without starting the download or showing an error. The maintainer indicated this may be an APK-specific limitation and noted a debug log is needed for APK builds.
Expected behavior
Tapping Install Runtime should start downloading the runtime and show progress or a clear error if the download fails.
Actual behavior
The Install Runtime popup appears briefly, then disappears immediately and the download stops. No error message is shown.
Steps to reproduce
Environment
Logs, screenshots, or video
Attached screenshot shows the Local AI Model panel with the model downloaded/selected and Runtime marked as not downloaded yet. No runtime download logs were provided. Maintainer requested ADB logcat or an APK debug log, but none were shared in the thread.
Additional context
User reported having about 15 GB free space on the phone. Maintainer suggested fully restarting the app and checking logs. Later comments indicate APK builds may not support downloading the sidecar/runtime the same way, and that a debug log for APK should be added.
Discord thread: Can't download local runtime on Android
Thread link: https://discord.com/channels/1417099416812392641/1520846651005075567
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (26 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jun 28, 2026):
I don't like the sound of that, Prof.
@SpicyMarinara commented on GitHub (Jun 28, 2026):
Furthermore, extra important, on Android APK we need access to a console. A button, perhaps, that opens it? Under the Debug mode toggle, though only available on Android/iPhone installations (otherwise, the button is disabled, which the toolbar should inform).
@SpicyMarinara commented on GitHub (Jun 28, 2026):
Fixed for v2.0.7. Added an Android APK WebView bridge that exposes the existing Termux launcher to the client, plus an Open Console button under Settings > Advanced > Debug mode. The button opens Termux for server logs in the Android shell and stays disabled with explanatory guidance in browser/desktop installs.\n\nValidation: pnpm check passed; pnpm version:check passed. Android Java compile was not runnable in this checkout because no Gradle wrapper or system gradle is installed locally.