User guide
A practical guide to using VSCodroid, the full VS Code IDE running natively on your Android device.
First Launch
What Happens on First Open
- Install. Download from the Play Store or GitHub Releases. The core download is roughly 210 MB (the APK on GitHub Releases is 217 MB), and you need about 800 MB free for the extraction that follows.
- Binary extraction. On first launch, VSCodroid extracts bundled tools (Node.js, Python, Git, Bash, and others) to internal storage. About 603 MB of files are unpacked, one file at a time behind a progress bar, so allow minutes rather than seconds on a slower device. They occupy more than that on disk, because the filesystem allocates every file and directory in whole blocks, and setup counts that allocation and adds a small margin: the ~800 MB above is what it insists on having free before it will start. It happens on the first launch and again after every app update or reinstall, because extraction follows the installed package's version and update timestamp rather than only what is already unpacked. An update needs far less free space than a fresh install (the app credits what it already holds, so roughly 230 MB for a complete tree rather than 800 MB), but it does re-copy the files and it does take minutes. A first run that is interrupted and retried with the same installed package is the one case that does not start over: files already the right size are left alone.
- Language Picker. A prompt asks "What do you code in?" with options for Ruby, Java and C/C++. It comes back at each launch until you answer it with Continue or Skip (a Continue that chose something counts once its downloads have ended, so if the app ends before they finish, the picker comes back at the next launch), and your answer is not final: touch and hold the app icon and pick Manage toolchains to add or remove them later. Whatever you select downloads there on the setup screen, one at a time; a download that fails is skipped and the rest continue. Skip goes straight to the editor.
- Ready. The VS Code editor loads with terminal, file explorer, and all bundled tools available immediately.
Default File Locations
| Item | Path |
|---|---|
| Projects folder | ~/projects/ |
| Extensions and editor data | ~/.vscodroid/ |
| Settings on the Remote tab of Settings | ~/.vscodroid/data/Machine/settings.json |
| Settings and keybindings on the User tab | Inside the WebView's storage, not a file |
| SSH keys | ~/.ssh/ |
All files are stored in the app's private sandbox. No root access is required.
Editor Basics
VSCodroid is VS Code. If you have used VS Code on desktop, everything works the same way.
Opening Files and Folders
- File > Open Folder, Ctrl+K Ctrl+O and the Explorer's Open Folder button ask
whether the folder is On the device or In the app's storage. Choose the
second for projects inside the app: it opens a dialog that takes a path.
Typing a path such as
/storage/emulated/0/...or/sdcard/...into that dialog reaches Documents, Downloads or an SD card, but VSCodroid holds no storage permission, so Android shows it the folders there and hides every file another app saved in them. Such a folder opens with its subfolders and none of those files; the editor then says so in a dialog, once per folder each time its server starts rather than on every reload, and offers the route below. Android 10 is stricter and denies the listing outright, so there the dialog says the folder does not exist and offers to create it: use the route below. - For a folder anywhere else on the device, choose On the device in that
question, or run VSCodroid: Open Folder from Device: tap the remote
indicator at the left end of the status bar, tap the button in the empty
Explorer, or use the Command Palette. It opens Android's folder picker; pick
the folder and allow access, and the files other apps saved in it show as
well, apart from what the copy below leaves out. Android
grants access one folder at a time, and not to the top of the storage or of an
SD card, nor to the Download or Android folder itself, so pick a folder inside
those. Nothing in
Android/data,Android/obborAndroid/sandboxcan be granted, since Android keeps each app's folder there to that app. Android 10 is the exception: its picker also offers the top of the storage and the Download folder. Pick a project folder there as well, because the folder you grant is copied into the app. A USB drive can be granted whole. VSCodroid: Open Recent Folder, in the same menu, lists the folders you have granted, with Browse device... at the end to add another. - A device folder is edited as a copy inside the app. The copy is read from the
device when you open the folder, and each save is written back to the device
as you make it. It leaves out files the device folder reports as over 50 MiB,
and the directories
.git,node_modules,.gradle,.idea,venv,.envand__pycache__are neither read in nor written back, so a git repository opened this way has no history here. Changes another app makes while the folder is open do not reach the editor until you open the folder again. If you save a file that another app changed since you opened the folder or last saved that file, the other app's version is normally kept beside yours as<name>.device-<time>, in the editor and in the device folder (the name is cut first when it is too long to take the suffix). The check goes beyond the time and size the device folder reports: before replacing an existing device file, VSCodroid reads its bytes and compares them with the version it last read or delivered. This also protects edits that keep the same time and size, including folders that report no times. If that comparison cannot finish, the save waits inside VSCodroid. It checks up to 64 MB per opening of retained local copies and reads the corresponding provider bytes before recording them as synchronized. A folder that reports no times cannot say which copy is newer when yours and the device folder's differ as you open it, as when another app changed a file you saved there in an earlier session: the editor keeps showing your version, and your next save of the file keeps the other app's beside it. If the device folder's version cannot be copied, as can happen in a network folder while it is offline even when no other app changed the file, or when the device folder reports that version as over 50 MiB, your save stays inside VSCodroid and a notice says so. While the folder is open VSCodroid tries the save again by itself, at least every five minutes, and it goes through, without a second notice, once that version can be read or copied. If the folder reports file times, opening it again tries the save too; if that version cannot be read or copied then either, saves of the file wait inside VSCodroid until an open can. If it reports none, opening it again leaves both versions as they are, as above: VSCodroid goes on trying the save, and after VSCodroid restarts, your next save of the file sends it. Renaming the folder that holds the file, in the editor, takes the save along: VSCodroid tries it at once under the new name and, while that version still cannot be read or copied, goes on trying it there. In either kind of folder, an open that finds that version reported as over 50 MiB keeps saves of the file inside VSCodroid until an open finds it smaller. When a file and a folder share a name, one on the device and one in the editor, for example after you delete a folder in the Explorer, which leaves it on the device, and make a file of the same name, the device's keeps the name and yours is kept beside it as<name>.local-<time>(the name is cut first when it is too long to take the suffix), in the editor and in the device folder, the next time you open the folder. Until then a notice says the file exists only inside VSCodroid. A file in the editor that you have not changed since VSCodroid copied it, where the device now holds a folder, is not kept: the folder replaces it; one that VSCodroid cannot tell from such a copy is kept beside the folder in the editor only, with a notice, until you save it again. If you open a folder again while a large save to it is still being written, the open does not wait for it: it says the folder is still syncing, saving carries on, and your later saves wait up to two minutes and are sent after that one. - Two device folders on the same provider take turns writing, for example a folder you closed a moment ago and the one you opened next. While one is still saving, a save in the other is held back and retried on its own, and a delete, a new file or a rename there waits up to ten seconds for the first folder to finish. If that folder is still writing after that, it is not done and a notice says so: repeat a new file or a rename once the first folder has finished, and delete a deleted file again after the next open of the folder, which brings it back.
- A file of a device folder that you delete in the editor is deleted in the device folder too, unless the device folder's version is one VSCodroid has not read: another app may have changed it since you opened the folder or last saved the file, or opening the folder could not read it. Deletion requires the provider bytes to match the version VSCodroid last read or delivered, even when its size and timestamp are unchanged. An unavailable read keeps the provider file. Such a file is kept in the device folder, and so is a folder holding it, or holding a file another app added since you opened the folder, that you delete from the terminal; a notice says so, and the file comes back into the editor the next time you open the folder. A file you delete in the copy while the folder is closed is not deleted in the device folder: it is copied in again the next time you open the folder.
- If opening a folder cannot list it or one of its subdirectories, saves and deletes of existing device documents under that directory are held back. Your edits stay inside VSCodroid until you reopen the folder successfully and save again; the unread device version is kept.
- A file that only VSCodroid's copy of a device folder holds, such as one made in
the terminal while the folder was closed, is put in the device folder the next
time you open it. Where VSCodroid cannot tell such a file from one deleted in
the device folder, it keeps the file inside VSCodroid rather than put a deleted
file back, and a notice names the file, or the first of them and how many.
That happens when its record of the folder is missing (for a file in a
subdirectory that opening cannot list, at the first opening that can), and while a folder
that has been empty at every opening still is, for a file older than the last
opening (as
unziporcp -pleave its time). It also happens once after an update from VSCodroid 1.10.1 or earlier: when a folder is opened for the first time since (or, if that opening cannot list the whole folder, the first time it can), a file that exists only in VSCodroid's copy, that has not changed since VSCodroid last opened the folder or last sent a save to it, and that the device folder does not list is kept inside VSCodroid, not sent, because it may be a document someone deleted on the device. A file whose save or creation in the editor did not finish is sent. Save a kept file again in the editor to send it. In a folder with more than about 2,000 subfolders (not counting folders such as.gitandnode_modules, which stay inside VSCodroid), a save in the subfolders furthest down is sent at the next opening, not at once. - Device-folder copies stay inside VSCodroid after their folder permission is removed. Use VSCodroid: Manage Device Folder Storage to see and remove them. Copies may contain files that never reached the device folder. Save anything needed elsewhere and stop terminals or other work using the copy before removal. Removing a copy asks for confirmation in the editor and in Android. A copy used in the current session remains protected until VSCodroid restarts.
- The Explorer and the title bar show a device folder under its own name. A
folder opened in an earlier version is shown under a twelve-character code
such as
8e440ff38c8e, the name of its copy, and offers to reopen under its own name. While a file has unsaved changes or a terminal is open, Reopen asks you to save or close them first, since they would stay with the code; the files that were open come back with the folder. Don't Ask Again keeps the code for that folder. - A
.code-workspacefile opens as a multi-root workspace: open the file and choose Open Workspace. On a device folder its roots have to sit inside the folder you granted, because nothing outside a granted folder is reachable. Only one device folder is synced back to the device at a time; if a workspace spans more than one copied device folder, VSCodroid shows a notice and edits in the other folders stay inside VSCodroid until you open those folders directly. - Create new files with Ctrl+N or by right-clicking in the Explorer.
- The default workspace is
~/projects/. Create subdirectories there for each project.
Tabs
- Open files appear as tabs at the top of the editor.
- Ctrl+W closes the current tab.
- Ctrl+Tab switches between open tabs.
- Drag tabs to reorder them.
Command Palette
The Command Palette is the fastest way to access any feature. Open it with Ctrl+Shift+P and start typing what you want to do.
Common commands:
Format Document: auto-format the current fileChange Language Mode: set syntax highlighting for a filePreferences: Open Settings (UI): open the settings editorPreferences: Open Keyboard Shortcuts: view and customize shortcuts
Settings
Open the Command Palette (Ctrl+Shift+P) and run Preferences: Open Settings (UI).
Settings you change on the User tab, the one Settings opens on, are kept by
the editor inside the WebView's storage, not in a file. The tab labelled Remote
[127.0.0.1:13337] (the port can differ on your device) edits
~/.vscodroid/data/Machine/settings.json, the file VSCodroid writes its own
settings into. Key defaults:
- Word wrap is on, in the editor and in the diff editor.
- Enter accepts an editor suggestion only when it changes the text (
editor.acceptSuggestionOnEnterissmart), so pressing Enter after a word already in the file starts a new line. - Git path is preconfigured to the bundled Git binary.
- The terminal profile points to the bundled Bash.
To edit settings as JSON, use the Command Palette: Preferences: Open User Settings (JSON).
Text Size
VSCodroid: UI Scale, in the Command Palette, sets the size of the whole interface: the side bar, tabs, menus, status bar, panels and editor together. It offers 100%, 110%, 125% and 150%, but only the sizes that keep the page at least 320 CSS pixels wide, so most phones go up to 110% or 125% and tablets to 150%. The room is checked against the screen when you choose a size and when the page loads, not when the window is resized, so entering split-screen at a large size can leave the page narrower than that until you choose a smaller one. The side bar closing by itself on a small screen goes by the screen's size and does not follow this size; set vscodroid.layout.autoHideSideBar to on to have it close at any size. The size is kept when the window reloads and when the app restarts. A size that does not take effect on your device is put back to 100%, and the command says so when you pick it.
To change the text in one place only, use the editor.fontSize and terminal.integrated.fontSize settings, which are remembered. Increase Editor Font Size in the Command Palette also works, but it is not bound to a key and it resets when the window reloads.
Android's Font size setting does not reach the editor's interface. Its Display size setting does, and it enlarges every app on the device.
Extra Key Row
When the soft keyboard is visible, a row of extra keys appears above it. Swipe it left or right to change page; the dots underneath show how many pages there are and which one you are on.
One exception, and it is deliberate: the row takes its height out of the page rather than covering it, so where the keyboard leaves almost nothing behind, the row stands down instead of taking the last of it. That is landscape on a phone, where the keyboard alone can be two thirds of the screen. For the same reason the title bar and the status bar are put away there, which leaves the editor four lines instead of one. An open panel, such as the terminal, steps aside there too while the editor has the focus, and stays when you tap into it to type. Turn back to portrait, or put the keyboard away, and they all return along with the row.
To hide the row altogether, for example while typing on a hardware keyboard, tap the remote indicator at the left end of the status bar and choose VSCodroid: Toggle Extra Key Row, or run it from the Command Palette. The row stays hidden, across restarts, until you run the command again.
The row also steps away by itself once you type a character on a hardware keyboard, and comes back when a finger leaves the screen: a tap on the editor or the end of a scroll. Running the command above does not bring it back at once: the first run hides the row until you run it again, and the second shows it. A mouse click or a touchpad does not bring it back, and nothing typed on the soft keyboard or on the row takes it away. If the hardware keyboard is disconnected the row comes back at once.
How many pages there are depends on how wide your phone is. The row divides its width evenly among the keys on a page, so on a narrower screen it carries fewer keys per page and spreads them over more: six pages on a 411dp phone and wider, seven at 360dp, eight at 320dp. The keys and their order never change, only where the page breaks fall, and the last page, the quick actions, is always one page of its own. The tables below are the six-page layout; on a narrower phone read pages 1 to 5 as one list that is cut in more places.
Page 1, essential coding keys:
| Key | Purpose |
|---|---|
| Tab | Indentation, accept autocomplete |
| Esc | Close menus, cancel operations |
| Ctrl | Modifier for shortcuts (Ctrl+S, Ctrl+Z, etc.) |
| Alt | Modifier for shortcuts (Alt+Up/Down to move lines) |
| Shift | Modifier for selections, for the row's own keys (Shift+Tab, Shift+F12), and for Ctrl or Alt chords typed on the soft keyboard (Ctrl+Shift+P) |
| trackpad | The wide pad. Drag to move the cursor; see below |
| {} | Opening curly brace |
| () | Opening parenthesis |
{} and () insert only the opening character. The editor closes the pair for
you and leaves the cursor between the two.
Page 2, common symbols: ; : " / | ` & _
Page 3, brackets and operators: [ ] < > = ! # @
Page 4, function keys: F1 through F8
Page 5, the rest of the function keys and navigation: F9 through F12,
Home, End, PgUp, PgDn
Pages 4 and 5 are the only place a touch user can reach any of those keys: no other page carries a function key, and the trackpad sends arrows only. Any shortcut the editor or an extension binds to one is a tap away.
Page 6, quick actions: one tap for the commands you would otherwise reach with
Ctrl and a letter. Each key sends the shortcut itself, so it works with nothing
latched, and a Ctrl, Alt or Shift lit on page 1 is cleared by the tap and does not
change it. On a label, ^ is Ctrl.
| Key | Sends | What it does |
|---|---|---|
F1 |
F1 | Opens the Command Palette |
^P |
Ctrl+P | Quick Open: go to a file by name |
^` |
Ctrl+` |
Opens and focuses the terminal, or hides the panel when it already has focus |
^B |
Ctrl+B | Shows or hides the side bar |
^J |
Ctrl+J | Shows or hides the bottom panel |
^S |
Ctrl+S | Saves the file |
These keys go to the editor itself and not to whichever box has the focus, so they
work with the terminal focused too: ^B hides the side bar and ^S saves the open
file from the terminal as from the editor, and neither is typed into the shell. Ctrl
latched on page 1 and then B or S on the soft keyboard is a different thing: it
goes to the box that has the focus, so in a terminal it reaches the shell, which
takes Ctrl+S as a request to pause its output until Ctrl+Q.
The trackpad
The wide pad on page 1 stands in for the four arrow keys. Drag it and the cursor
moves, in the editor and the terminal, and a diagonal drag moves on both axes at
once. Dragging left or right also moves the caret in text boxes such as rename,
the Command Palette and find, and inside extension panels, and so do Home and
End. PgUp and PgDn work inside extension panels too, and in the Command
Palette they page the list, as dragging up or down moves through it. In a
number box, such as a number setting in the Settings editor, dragging left or
right does nothing; tap where the caret should go, or use Home and End.
Inside an extension panel, a drag past either end of a text box can move focus
to the next control.
It has three gears, and which one you are in depends on how far your finger has travelled since the drag began, not on how fast you are moving it. A short drag steps character by character. Keep going in the same stroke and the same amount of finger travel starts buying more movement, twice over, so one long drag crosses lines and then whole screens. Lift your finger and the next drag starts in the first gear again.
Long press
Touch and hold a key that has alternates and a small popup offers them:
| Key | Alternates |
|---|---|
{} |
[ and < |
() |
), ] and > |
" |
' and ` |
/ |
\ |
` |
~ |
Long press is the only route to ), ' and \: no page carries them, and a
latched Shift does not reach them either. The closing parenthesis matters most,
because auto-closing brackets usually supply it and leave you with no way to type
one when they do not. ~ is in the popup too, but it is not stranded there: the
row carries ` as a key of its own, and a latched Shift over it types ~.
Every other key sends one press, the same press a tap sends, and nothing on this row repeats. Tab, Esc and the rest press when you lift your finger, however long you held it, provided the finger stayed where it landed; one that slid away at any point sends nothing. Ctrl, Alt and Shift switch as soon as the hold is long enough for a long press, before you lift your finger, so what you type while still holding a lit Ctrl meets it just as it would after a tap, and lifting the finger changes nothing. A swipe that starts on a key turns the page, sends nothing and leaves a modifier as it was, and two quick taps send two presses.
Modifiers
Ctrl, Alt, and Shift are sticky: tap once to activate for the next keypress. Tap again to deactivate. They highlight when active.
Three things behave differently from "the next keypress". Shift stays held for a whole trackpad drag, so dragging with Shift on selects text rather than moving the cursor once. All three clear by themselves when the soft keyboard hides. And Shift on its own is not applied to what you type on the soft keyboard, so for a capital letter hold the soft keyboard's own Shift; latch Ctrl or Alt as well and the row's Shift is carried into that chord, which is how Ctrl+Shift+P is typed.
Enter, Backspace and Delete take a latched modifier as well, even though the soft keyboard reports all three as an edit rather than as a key. So Ctrl+Enter and Ctrl+Backspace arrive as chords: Ctrl+Enter opens a line below without splitting the one you are on, rather than typing a plain newline.
Under a screen reader, the dots below the row are one item that reads "Key page 1 of 6", with any latched modifier named after it ("Key page 1 of 6, ctrl+shift held"). It is spoken again each time you swipe to another page, which is the only announcement that the keys under your finger have changed.
The keys on each page are defined in
android/app/src/main/kotlin/com/vscodroid/keyboard/KeyPageConfig.kt, and the
trackpad's gears in TrackpadGesture.kt beside it.
Common Keyboard Shortcuts
| Shortcut | Action |
|---|---|
| Ctrl+P | Quick Open (search files by name) |
| Ctrl+Shift+P | Command Palette |
| Ctrl+S | Save file |
| Ctrl+Z | Undo |
| Ctrl+Shift+Z | Redo |
| Ctrl+/ | Toggle line comment |
| Ctrl+D | Select next occurrence |
| Ctrl+Shift+K | Delete entire line |
| Alt+Up / Alt+Down | Move line up/down |
| Ctrl+` | Toggle terminal |
| Ctrl+B | Toggle sidebar |
| Ctrl+Shift+E | Focus file explorer |
| Ctrl+Shift+F | Search across files |
| Ctrl+Shift+X | Open extensions panel |
Terminal
Open the terminal with Ctrl+` or from the menu bar. VSCodroid includes a full terminal with real PTY support, so full-screen and interactive programs work natively: tmux, bash line editing, and the Node and Python REPLs.
Bundled Tools
All tools are available immediately with no installation or setup:
node -v # Node.js 24.x
npm -v # npm 11.x
python3 --version # Python 3.14.x
python3 -m pip --version # pip, bundled inside Python's site-packages
git --version # Git 2.x
bash --version # Bash 5.3.x
tmux -V # tmux 3.x
make --version # GNU Make 4.4.x
ssh -V # OpenSSH 10.x (ssh, scp, sftp, ssh-keygen)
rg --version # ripgrep (powers VS Code search)
Using the Extra Key Row in Terminal
The Extra Key Row is especially useful in the terminal:
- Ctrl+C: interrupt a running process (tap Ctrl, then tap C on keyboard)
- Ctrl+D: send EOF / exit the shell
- Ctrl+L: clear the terminal screen
- Tab: autocomplete file and directory names
- Esc: cancel a prompt, or leave copy mode in tmux
- Arrow keys: navigate command history (Up/Down) and cursor (Left/Right). On a touch device these come from the trackpad on page 1 of the key row, not from buttons; drag it up or down to walk back through history
Multiple Terminals
- Click the + icon in the terminal panel to open a new terminal.
- Click the dropdown to switch between terminals.
- Each terminal is an independent bash session with its own working directory.
Running Code
A file open in the editor runs from the play button in the editor's title bar.
Python files get it from the Python extension. JavaScript, TypeScript, Ruby,
Java, C, C++ and .sh or .bash files get VSCodroid: Run File, which saves
the file and runs it in a terminal named VSCodroid Run; the next run replaces
that terminal. Header files and the other shells' scripts do not get it. A
TypeScript file runs as node file.ts, which only removes type annotations, so
one with an enum or an import that leaves out the .ts extension stops with
an error (see the TypeScript note under
What You Get For Each Language). Ruby, Java and C/C++ need their toolchain from the toolchains screen
first, and the button offers it when it is missing. A C or C++ file is built
into a temporary file and run, so a program of several files or one that needs
build options still belongs in the terminal.
# Run a JavaScript file
node app.js
# Run a Python script
python3 script.py
# Start a Node.js project
mkdir my-app && cd my-app
npm init -y
npm install express
node index.js
What Runs in the Terminal
Android does not let an app start a program straight out of its own storage, and that is where everything you build, clone or install ends up. The terminal starts each such program through the system's own program loader on your behalf, as the Termux build on Google Play does, so from a terminal these all work:
- a program built for Android (with the NDK), run as
./a.out - a script with a
#!line, run by its own path. That includes a Git hook in a repository you cloned, which fires on your first commit there, as it would on a desktop - a command that pip or npm installed, inside or outside a virtual environment
That covers the app's own storage, and nothing else. An install from before
1.2.0 whose projects folder is still on shared storage, under
Android/data/com.vscodroid/files/projects (see Storage), keeps
that folder, and a program or a Git hook stored there still cannot run. A
folder under ~ that is not ~/projects is under the app's own storage on
such an install, and this works there.
A task the editor runs from tasks.json is covered too, with one distinction.
A "type": "shell" task runs in a shell, so anything it names works as it
would in a terminal. A "type": "process" task starts its command directly,
and that command itself still has to be a bundled tool, a toolchain command by
name, or a system program: an absolute path to a program under the app's
storage fails as the command, with or without the setting. What the command
starts then reaches your files, so a python3 task can run ./a.out or a
script by its path.
What it does not reach is a program an extension starts on its own, without a
terminal: an extension's own copy of Git, or a language server. VSCodroid covers
one kind of such start itself: a program built for Android, started by its full
path with spawn, execFile, spawnSync or execFileSync, is handed to the
system loader and given the terminal's program loader for whatever it starts in
turn (see Extensions That Bundle a Compiled
Program). That has not been tried
with an extension that depends on it, and it does not apply to a start that
names, runs in or searches ~/.gemini (see Google
Antigravity). Anything else an extension starts from the
app's storage still fails: a script with a #! line, a musl program, a program
named without its full path (toolchain commands aside, see Toolchains Must Be
Started by Name), and a start made through
a shell, whose command gets no program loader, which is why this guide keeps
its python3 -m advice for that case. Switching the terminal's program loader
off, below, does not change these starts. A terminal an extension opens carries
it (measured with the JavaScript Debug Terminal on API 33 and 36 emulators,
2026-09-23), since the setting applies to every terminal the editor creates,
unless the extension asks for a strict environment of its own.
Two limits show. A #! line of the form #!/usr/bin/env -S ... fails with
env: Unknown option, because the system's env has no -S; write
#!/usr/bin/env node or name the interpreter directly. And while such a
program runs, the terminal tab shows linker64 as its name, because the system
loader is what is running it. For the same reason a program that asks the
system for its own path is told the loader's, so a tool that finds its files
that way may need to be told where it is.
To switch it off, open Settings, choose the tab labelled Remote
[127.0.0.1:13337] (the port can differ on your device) and, under
terminal.integrated.env.linux, replace the value of LD_PRELOAD with
null. That tab edits the settings file this app owns, which is where
VSCodroid writes the entry; the next terminal you open runs without it, and
your choice survives relaunches. The same null in the User tab, which is
the one Settings opens on, does not switch it off: the app's own file outranks
it.
A preload of your own belongs in that tab too, for the same reason: an
LD_PRELOAD you set in the User tab is replaced by the app's entry. To
keep both, put your library after the path VSCodroid wrote, separated by a
colon. VSCodroid leaves a value like that as you wrote it, so if a backup
brings it to another Android user, such as a work profile, terminals there
fail to start until you correct the paths in it.
Extensions
VSCodroid uses the Open VSX extension registry. This is a free, open alternative to the Microsoft Marketplace. Most popular extensions are available.
Searching and Installing
- Open the Extensions panel: Ctrl+Shift+X or click the Extensions icon in the sidebar.
- Type the extension name in the search box.
- Click Install on the extension you want.
Extensions are downloaded from Open VSX and persist across app restarts.
Installing from a VSIX File
Run Extensions: Install from VSIX... from the Command Palette
(Ctrl+Shift+P) to install an extension you already hold as a .vsix file.
The picker it opens is the editor's own, not Android's. It starts in your home
folder, lists only files ending in .vsix, and shows only what VSCodroid can
see. A path typed into it reaches Downloads, Documents or an SD card, but a
file the browser or another app saved there is hidden from it, for the same
reason a folder opened there with File > Open Folder and In the app's
storage shows none of those files. So bring the file inside first:
- Download the
.vsixwith the phone's browser. - Run VSCodroid: Open Folder from Device and grant the folder it landed in; the file appears in the Explorer. Android does not grant the Download folder itself, which is where a browser usually saves, so first move the file into a folder of its own, such as a new one inside Download, with the phone's Files app. A device folder is copied into the app for as long as it is open, so pick a folder holding little else. Files over 50 MiB are not carried in at all, so a very large VSIX has to arrive another way.
- Open a terminal (Ctrl+`), which starts in that folder, and copy it
across:
cp name.vsix ~/. - Run Extensions: Install from VSIX..., pick the file, and choose Reload Now when the notification offers it.
Signature checking plays no part in this. extensions.verifySignature decides
downloads from Open VSX and nothing else; a VSIX is never checked for a
signature whatever that setting says. What you do give up is the platform choice
the marketplace makes for you: VSCodroid asks Open VSX for the Alpine ARM 64
build of an extension that publishes one per platform, and a file you pick
yourself gets no such help, so take the alpine-arm64 one where the extension
offers it (see Extensions That Bundle a Compiled
Program). Nothing checks that
either: a VSIX built for the wrong platform installs, shows as enabled, and does
nothing. One built for a newer editor is refused outright, with a message naming
the version.
Pre-installed Extensions
These extensions come bundled with VSCodroid:
- ESLint: JavaScript/TypeScript linting
- Prettier: code formatting
- Tailwind CSS IntelliSense: Tailwind autocomplete
- Python: Python language support
VSCodroid also ships five of its own, which do not appear in the marketplace: the Get Started walkthrough, the Android bridge (device folders, the device browser, SSH keys and storage), Serve on Network, the process monitor in the status bar, and the editor menu entries that add Select All beside Cut, Copy and Paste.
VSCodroid opens on the editor's own dark theme, and it is not the only one installed. Nineteen colour themes ship with it: the Dark and Light defaults with their Modern and high-contrast variants, plus Abyss, Kimbie Dark, Monokai, Monokai Dimmed, Quiet Light, Red, Solarized Dark, Solarized Light and Tomorrow Night Blue. Switch with Preferences: Color Theme in the Command Palette, no download needed. Three file-icon themes ship too, Seti among them. Anything beyond these comes from the marketplace.
Choosing a Formatter
Format Document uses the bundled Prettier, without asking, for CSS, SCSS, Less, HTML, Handlebars, JavaScript, TypeScript and their React variants, JSON, JSON with comments, Markdown, YAML, Docker Compose, GraphQL and Vue. Other languages use whichever formatter is installed for them.
To use another formatter for one of those languages, choose it for that language: run Format
Document With... in the Command Palette, then Configure Default Formatter..., and pick it.
That writes a setting for the language of the open file, such as
"[javascript]": { "editor.defaultFormatter": "biomejs.biome" }, and it wins over Prettier.
A formatter set for every language at once (Editor: Default Formatter in Settings, with no language chosen) does not win for the languages listed above: the bundled choice is made per language, and the editor reads a per-language setting first. Set it per language as above.
If you uninstall Prettier, do the same for those languages. Until then Format Document says the configured formatter is not available instead of falling back to the editor's built-in one.
Recommended Extensions to Install
| Extension | What It Does |
|---|---|
| Error Lens | Show errors inline in the editor |
| Auto Rename Tag | Rename paired HTML/XML tags |
| Path Intellisense | Autocomplete file paths |
| REST Client | Send HTTP requests from the editor |
Extension Webviews
Extensions that use webview panels (such as theme configurators, documentation viewers, and AI assistants) render correctly in VSCodroid.
Webviews cannot load files from your projects folder while a file or folder that holds sign-in secrets, such as ~/.npmrc, ~/.config/git or ~/.ssh, is a link into it, also a link to a file that does not exist yet, which the first sign-in creates, because serving the folder would serve the secret with it; a Markdown preview there then shows no images. The same holds for a device folder. Open a folder inside it that does not hold the linked file, or keep that file outside the projects folder and the device folders.
Jupyter Notebooks
The Jupyter extension (ms-toolsai.jupyter) installs from the Extensions view like any other. It reaches a notebook kernel through a messaging add-on it carries only in builds for desktop systems, so VSCodroid supplies an Android build of that add-on.
Notebooks run in a Python virtual environment. Create one in the terminal with python3 -m venv .venv, open a .ipynb file, choose Select Kernel, then Python Environments..., and pick that environment. If it does not have ipykernel yet, the extension installs it when the first cell runs, which takes about half a minute and needs a network connection. ipykernel depends on psutil, which PyPI has no Android build of; pip takes it from the prebuilt packages described in Python Packages Written in C.
If the extension offers to install jupyter and notebook, decline: that is a Jupyter server, whose dependencies cannot be built here and whose commands Android will not run from the app's storage.
The Android build of that add-on is pointed at by ZEROMQ_PREBUILD, which every process VSCodroid starts inherits. A Node project of your own pinned to zeromq 5.x or 6.0.x picks it up too, which is what lets it load at all here. To run such a project against its own copy instead, clear the variable for that command: ZEROMQ_PREBUILD= node app.js.
Google Antigravity
The Google Antigravity extension (Google.google-antigravity on Open VSX) installs from the Extensions view
like any other. When it first starts it downloads its engine into ~/.gemini. Once you have turned its
engine on (below), VSCodroid starts that engine for the
extension and lets the extension's panel show the page the engine serves, so the panel opens on the
Antigravity welcome screen with Continue with Google.
The engine is off until you turn it on. With the extension installed, VSCodroid shows a notice that
says so and offers Turn On and Reload, or Don't Show Again, which keeps the notice away until the
setting has been on once. The same switch is in Settings: search for run engine and
tick Vscodroid > Antigravity: Run Engine (it is listed on the Remote tab), then run Developer:
Reload Window. Until then VSCodroid holds back the extension's starts of what it keeps in ~/.gemini,
other than the engine's version check, including one written with the system loader in front of the
program and a shell command that names both, and the extension's panel reads Couldn't load this view
with a spawn ... EACCES error, which is the engine not being started. Only what a start spells out is
seen: a program that is told what to run (a shell given a command with -c, an interpreter, env in
front of the loader, or fork given the loader as its execPath), a name a shell command builds from a variable or a pattern, or a path that goes through
a link and then back up with .., gets past it. The switch
holds back what an extension starts in the usual way; it is no barrier against an extension that sets out to
run the engine. If the box is ticked and the panel still shows that error, VSCodroid reads the setting as
off in its settings file, which happens when the file has an error that VS Code works around, such as a
missing comma, is larger than 1 MiB, or nests more than 64 levels deep; a notice then names the file to
correct. Untick the setting and reload the window
to turn the engine off again: an engine that is running is stopped then. The setting belongs to the phone
it was turned on on: restoring VSCodroid from a backup, or moving it to a new phone, turns it off again.
With the engine on, VSCodroid starts it only with the arguments the extension itself gives it, so an
argument added through antigravity.serverArgs, which the settings of a folder you open can set, keeps
the engine from starting, with the same error. A folder's settings can still add a directory the agent may
use (--add-dir), as each folder of the workspace already does, so open only folders you trust. The reason
for the switch is the third point below.
What to know before using it:
- Signing in. The panel asks you to sign in in the browser and paste the authorization code shown on the callback page.
- How far it has been tried. On an emulator the engine started, sign-in completed, and the agent answered a
message, created a file and ran commands.
python3,gitandnoderan from those commands. A program stored directly under the app's files directory, such as the engine itself, answeredPermission denied: the engine starts the agent's commands itself, and VSCodroid cannot route those through the system loader. The engine is started without the terminal's program loader, as is anything an extension starts that names, runs in or searches~/.gemini, so that loader does not start what such a start names there. Installed toolchains were not tried. - Other apps on the phone. While it runs, the engine listens on a port of
127.0.0.1, and any app that can use the network can open that port. The page the engine serves there includes the key its calls require, so such an app can read the signed-in account's name, email address and plan, and should be assumed able to make the engine's other calls too. VSCodroid has found no way to make the engine listen on a private socket, as the editor does, which is why the engine stays off until you turn it on. Turn it on, and sign in, only on a phone whose installed apps you trust. - Processes and memory. The engine is one more process counted against Android's phantom process limit (see Android Phantom Process Limit) while it runs, and the memory it holds comes on top of the editor's own.
What Is Not Available
Some extensions are exclusive to the Microsoft Marketplace and not published on Open VSX. Notable examples include Microsoft's C/C++ extension. For most cases, open-source alternatives exist on Open VSX. GitHub Copilot Chat is the exception that needs no marketplace: it ships bundled.
SSH and Git
Generating an SSH Key
Generate the key from the terminal, naming the output file explicitly:
ssh-keygen -t ed25519 -C "your@email.com" -f ~/.ssh/id_ed25519
Press Enter twice at the passphrase prompts to leave the passphrase empty.
Name the output path with -f rather than accepting the default. OpenSSH derives its
default key path from the system user database, which an Android app sandbox does not
provide, so the default can resolve somewhere unwritable and fail with
Saving key "..." failed: No such file or directory.
Copying Your Public Key
Print the public key in the terminal, then select the output and copy it:
cat ~/.ssh/id_ed25519.pub
Paste it into your GitHub, GitLab, or Bitbucket account under Settings > SSH Keys.
Configuring Git
Set your identity before making commits:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
Cloning a Repository
# SSH (after adding your key to GitHub)
git clone git@github.com:username/repo.git
# HTTPS
git clone https://github.com/username/repo.git
Common Git Operations
git status # See changed files
git add . # Stage all changes
git commit -m "Fix bug" # Commit
git push origin main # Push to remote
git pull # Pull latest changes
git log --oneline -10 # Recent commit history
git branch feature-x # Create a branch
git checkout feature-x # Switch to branch
VS Code's built-in Source Control panel (Ctrl+Shift+G) also works for staging, committing, and viewing diffs.
git submodule commands run, and print a few lines reading
git: 'sh-i18n--envsubst' is not a git command on the way. They are harmless:
that helper is not bundled, and the command completes without it.
SSH Configuration
VSCodroid creates a default SSH config at ~/.ssh/config on first launch with sensible defaults:
StrictHostKeyChecking accept-new: auto-accept new host keys on first connection- ed25519 identity file configured
- Keepalive enabled
You can edit ~/.ssh/config to add custom hosts. The default key above is already used for
every host, so a host needs no IdentityFile line unless it uses a different key:
Host myserver
HostName 192.168.1.100
Port 22
User deploy
In the terminal, ssh, scp, and sftp read this file because each is a shell function
that adds -F ~/.ssh/config. The bundled OpenSSH looks for ~ in a place that does not
exist on Android, so without those functions it would miss the config, the default key and
known_hosts, and print Failed to add the host to the list of known hosts. A -F you
type yourself takes over, and command ssh (or command scp, command sftp) runs the
bare program. In a config, name any other key by its absolute path: run
echo ~/.ssh/work_key and use what it prints.
git reads the same file. When ~/.ssh/config cannot be read, for example because it is a link
into a folder that is gone, git gives ssh the defaults above instead, so a clone, fetch or push
with the default key still works.
Connecting to a Server
Any server you can reach over the network is one command away:
ssh myserver # a host from ~/.ssh/config
ssh user@192.168.1.100
For key authentication, generate a key as described above and append the output of
cat ~/.ssh/id_ed25519.pub to ~/.ssh/authorized_keys on the server. The first connection
saves the server's host key in ~/.ssh/known_hosts, and later ones check it.
scp and sftp are bundled for copying files and transferring directories:
scp file myserver:/path/on/server/
scp myserver:/path/on/server/file .
sftp myserver
Editing Files on a Server
VS Code's Remote - SSH extension is Microsoft's and is not on Open VSX, and the editor here runs on the phone, so a window attached to another machine is not available. The SSH FS extension (Kelvin Schoofs, in the Extensions view) shows a server's folder in the Explorer next to your own and opens a terminal on the server:
- Install SSH FS from the Extensions view.
- In a terminal, run
echo ~/.ssh/id_ed25519and note the path it prints. -
Add a connection to
settings.json(Command Palette, Preferences: Open User Settings (JSON)), using the path from step 2 asprivateKeyPath:"sshfs.configs": [ { "name": "myserver", "host": "192.168.1.100", "port": 22, "username": "deploy", "privateKeyPath": "/path/printed/in/step/2", "root": "/home/deploy" } ] -
Run SSH FS: Add as Workspace Folder and pick
myserver. Its files appear in the Explorer, and saving a file writes it straight to the server. SSH FS: Open a remote SSH terminal gives a shell there.
The server needs its SFTP subsystem, which standard OpenSSH installations enable. Everything the editor runs stays on the phone: build and run things in the server terminal, and expect tools that need files on a local disk, many language servers among them, not to work on the server's files.
Web Development
Creating a New Project
# React with Vite
cd ~/projects
npm install -g create-vite
node "$(npm root -g)/create-vite/index.js" my-react-app --template react --no-interactive
cd my-react-app
npm install
npm pkg set scripts.dev="node node_modules/vite/bin/vite.js" scripts.build="node node_modules/vite/bin/vite.js build"
npm run dev
# Express API
mkdir my-api && cd my-api
npm init -y
npm install express
The React steps start create-vite and Vite with node, which works with or without the
terminal's program loader. In a terminal npm create vite@latest and the template's own
vite scripts run as well; where the loader does not reach they stop with
bad interpreter: Permission denied, and npm and npx says why. There the
template's lint and preview scripts need the same change:
npm pkg set scripts.lint="node node_modules/oxlint/bin/oxlint" scripts.preview="node node_modules/vite/bin/vite.js preview"
Dev Server Preview
When running a local dev server (Vite, Next.js, Express, Flask, etc.), you can preview it inside the editor, in a tab beside your code:
-
Start the dev server in the terminal:
npm run dev # Output: Local: http://localhost:5173/ -
Open the Command Palette (Ctrl+Shift+P) and run
Simple Browser: Show - Enter the URL, for example
http://127.0.0.1:5173/
The page opens in an editor tab with back, forward and reload buttons, and an icon to hand the page to your device's browser if you would rather see it full screen. Edit, save, tap reload, all without leaving the app.
Any loopback port works, whatever port your dev server picked.
If your dev server is on https
A preview served over https with a self-signed or private certificate is refused, and the editor now names the host it blocked and says why. Before, the tab simply came up empty and there was nothing to tell that apart from a server that was not running.
Plain http:// is the answer for a local preview: cleartext is permitted here precisely
because that is what dev servers speak. Installing your own CA through Android Settings
does not help for a page, and this is the one place where it makes a difference which
part of the app is asking. Pages are rendered by the system WebView, which trusts the
device's system roots and nothing else. The terminal does read a CA you installed,
because the app builds a certificate bundle from both halves of the device trust store
and hands it to git, Python, pip, Ruby and the bundled Node.js (npm included; Java 25 uses
its own keystore, see Git Push/Pull Fails). So the same
certificate can clone or pip install fine in the terminal and still be refused in a
preview tab.
Opening in the device's browser instead
If you would rather use the device browser, the terminal route still works:
- Open the Command Palette and run
Terminal: Open Last URL Link - The page opens in your device's browser
The terminal underlines the URL, but tapping it does nothing: VS Code only follows a
terminal link on Ctrl+click, and a touch tap carries no Ctrl. The command above exists
for exactly this case. Terminal: Open Detected Link... lets you pick from every link
currently on screen instead of just the last one.
npm and npx
npm installs packages as usual, including the Android builds that packages such as Rollup, Rolldown, Lightning CSS and oxlint publish for their native part:
npm init -y # Create package.json
npm install express # Install a package
npm run start # Run a script from package.json
In a terminal, a package's program starts by name as it does on a desktop: npx <tool>,
npm create and npm init <initializer>, and a package.json script such as
"dev": "vite". npm starts each through the file in node_modules/.bin, which Android
refuses to execute because it is inside the app's storage, so the terminal hands it to
the system's program loader (see What Runs in the Terminal).
Where that loader does not reach, such as a program an extension starts on its own, or a
terminal where it is switched off, the same starts exit with status 126 and
Permission denied; when the program is a JavaScript file the message reads
/usr/bin/env: bad interpreter: Permission denied. There, run the program's JavaScript
file with node instead, such as node node_modules/vite/bin/vite.js for vite; the
package's package.json names that file under bin. A script that starts with node,
like "start": "node server.js", works as it is.
npm uses --prefer-offline by default to speed up installs by using cached packages when available.
Python Web Development
mkdir flask-app && cd flask-app
python3 -m venv venv
source venv/bin/activate
python3 -m pip install flask
python3 app.py
Package Compatibility
Some npm packages require C/C++ compilation and will not install unless the C/C++ toolchain is installed, and a native npm build has not been tried against them even then. Use these alternatives:
| Package | Alternative | Notes |
|---|---|---|
better-sqlite3 |
sql.js |
SQLite compiled to WASM |
bcrypt |
bcryptjs |
Pure JavaScript |
sharp |
jimp |
Pure JS image processing |
node-sass |
sass |
Dart Sass, pure JS |
canvas |
@napi-rs/canvas or pureimage |
Check Open VSX availability |
See the Known Limitations section for more details.
Running and Debugging
VSCodroid ships one debug adapter: js-debug, the same one desktop VS Code uses for JavaScript and TypeScript.
The Configurations That Are Already There
Three launch configurations are written when the app first sets itself up. They belong to VSCodroid rather than to a project, so they are offered for every folder you open:
| Configuration | What it is for |
|---|---|
| Node.js: Run Current File | Runs the file in the active editor under the debugger |
| Attach to Node.js | Attaches to a Node process you started yourself with --inspect, on port 9229 |
| NestJS: Debug | Runs src/main.ts through ts-node, for a project that already has ts-node and tsconfig-paths installed |
The shortest route on a touch screen is Debug: Select and Start Debugging from the Command Palette (Ctrl+Shift+P): it lists all three and starts the one you pick. The Run and Debug icon in the activity bar shows the same three in a dropdown with a start button beside it.
Set a breakpoint by tapping the gutter to the left of a line number.
To give a project configurations of its own, open Debug: Select and Start
Debugging and choose Add Configuration... at the bottom of the list. That
creates .vscode/launch.json in the folder, and what you put there appears in
the same list beside VSCodroid's three.
Attaching to a Server You Started
Attach to Node.js is the one to reach for with a dev server, because it leaves
the server alone:
node --inspect server.js
Node prints Debugger listening on ws://127.0.0.1:9229/...; start Attach to
Node.js and it connects, and the process itself reports Debugger attached.
The configuration sets restart, so it reconnects when a watcher restarts the
process.
What Has No Debugger Here At All
- Python. The bundled Python extension carries no debugger of its own; it
points at Microsoft's separate
ms-python.debugpy, which VSCodroid does not bundle. - Browsers. js-debug drives Chrome or Edge through a companion that has to run on the machine you are sitting at, and that companion cannot run here. Debug the server side, and view the page in the preview tab or the device browser.
- Everything else. Ruby, Java and C/C++ are toolchains, not debuggers, and none ships an adapter. A debug extension written in JavaScript and published on Open VSX may work; one that ships a program compiled for desktop Linux will not (see Extensions That Bundle a Compiled Program).
On-demand Toolchains
Beyond the bundled tools (Node.js, Python, Git, Bash), VSCodroid offers additional languages as on-demand downloads.
Available Toolchains
| Language | Download Size | Installed Size | Includes |
|---|---|---|---|
| Ruby | 11 MB | 41 MB | ruby, gem, irb, bundler, rake, and the headers native gems build against |
| Java 25 (OpenJDK) | 70 MB | 192 MB | java, javac, jar, jshell |
| C/C++ (clang) | 81 MB | 280 MB | cc, c++, gcc, g++, clang, clang++, ld, ar, ranlib, nm, strip, objdump, objcopy, readelf, size, clangd (the language server), and the C and C++ headers |
| Codex | 153 MB | 395 MB | codex, OpenAI's coding agent (see Codex); not a language, so the first-run picker does not offer it |
Codex is the largest. Installing a toolchain holds the unpacked copy and the installed copy at once, so the install asks for roughly twice the installed size free while it runs, which for this one is about 840 MB. Reinstalling or updating a toolchain that is already installed asks for less, about one installed size plus its largest file, because the copy replaces files that are already on the disk.
What You Get For Each Language
Every language gets syntax highlighting, the title bar's play button and a terminal. What sits beyond that differs a great deal, and this is the whole of it, so you can pick what you need:
| Language | Run button | Completion and error squiggles | Debugger | Packages |
|---|---|---|---|---|
| JavaScript and TypeScript (bundled) | node file |
Yes, the editor's own | js-debug | npm; see the TypeScript note below |
| Python (bundled) | Yes | Completion and hover from Jedi; no type checking | None | pip, including wheels built for Android (numpy installs and runs) |
| Ruby | ruby file |
None | None | gem and bundler; a gem with a compiled part needs the C/C++ toolchain as well (bcrypt builds) |
| Java 25 | java file (a single source file) |
None | None | None: no Maven or Gradle |
| C and C++ | Compiles to a temporary file and runs it | clangd, through its extension (see C and C++) | None | None: no CMake or Ninja; make works |
Java here is for compiling and running programs, not an IDE. The Language
Support for Java extension from Open VSX installs, and whether it runs has not been measured: it
starts its server by the JDK's full path, which VSCodroid now hands to the system loader when the
extension uses spawn, execFile or their synchronous forms, but the server needs a great deal of
memory on a phone, and the JDK cannot start its own helper programs outside a terminal (see
Toolchains Must Be Started by Name). Do not count on error squiggles or
completion for Java.
C and C++ have a language server. The C/C++ toolchain includes clangd, and the clangd
extension from Open VSX talks to it: see C and C++. There is no debugger for either.
TypeScript. npm install typescript now installs version 7, whose compiler is a native
program with no Android build, so npx tsc stops with
Unable to resolve ... Either your platform is unsupported. Install typescript@6 instead, which compiles in JavaScript and works
here. The editor's own TypeScript checking is separate and is not affected. Node itself runs
.ts files directly (node file.ts) as long as they use only syntax that can be stripped and
name the .ts file in every relative import.
Installing During First Run
The Language Picker appears on first launch. Select the languages you want and they download in the background. Codex is a tool and not a language, so the picker does not offer it; install it from the Toolchains screen, as described in the next section.
Toolchains are never bundled inside the APK. Play Store installs fetch them as on-demand asset packs; sideloaded installs download them over HTTPS from this app version's GitHub Release when the asset is available, falling back to the latest release. Either way they land in the app's own storage and survive app updates.
Installing After Setup
The Language Picker stops appearing once you answer it with Skip, or with Continue once the downloads it started have ended, but the screen it offers stays reachable, by two routes. From the editor, run VSCodroid: Manage Toolchains from the Command Palette (Ctrl+Shift+P). From outside it, touch and hold the VSCodroid icon (on the home screen or in the app drawer) and choose Manage toolchains. Both open the same screen, and installing and removing work exactly as they do during setup, so a language you skipped is not lost.
The launcher shortcut is there because reaching this screen matters most when the editor is the part that will not start, so at least one way in does not depend on it.
Using Installed Toolchains
New terminals automatically pick up toolchain PATH changes. No app restart is needed.
# Ruby
ruby -v
gem install sinatra
ruby app.rb
# Java
javac -version
javac Main.java
java Main
A command a gem installs (rubocop, rails) lands in a folder that is not on
the terminal's PATH, so by its bare name it is reachable after you switch away
from VSCodroid and back, or on the next launch, which is when the app lists the
commands installed so far; by its full path under $GEM_HOME/bin it runs in a
terminal the moment gem install finishes (see
What Runs in the Terminal). A program an extension
starts on its own cannot reach it either way; run ruby -S rubocop there.
C and C++
The C/C++ toolchain installs clang and lld with the headers they need. In a terminal:
cat > hello.c <<'EOF'
#include <stdio.h>
int main(void) { puts("hello from C"); return 0; }
EOF
cc hello.c -o hello && ./hello
cat > hello.cpp <<'EOF'
#include <iostream>
int main() { std::cout << "hello from C++\n"; }
EOF
c++ hello.cpp -o hello_cpp && ./hello_cpp
cc, gcc and clang compile C; c++, g++ and clang++ compile C++. All six are clang
under different names, and gcc and g++ are not GNU's compilers. make, which is already
bundled, finds cc and g++ by its own defaults, so a plain Makefile works. ld is lld, and
ar, ranlib, nm, strip, objdump, objcopy, readelf and size are LLVM's.
It needs the terminal's exec interceptor. The compiler starts its linker, and then you start the program it built, and both are files in the app's own storage that Android will not run directly. The terminal starts them for you through the system's program loader, as described in What Runs in the Terminal, and this toolchain has no other way to start. So it does not work:
- in a terminal where
LD_PRELOADhas been set tonull, the switch that section describes, whereccanswersPermission denied; - when an extension starts a compiler through a shell or by its name alone. Started by its full path, without a shell, it is given the terminal's exec interceptor and its own path, which has not been tried with an extension;
- as the command of a
"type": "process"task, which is started directly. Use a"type": "shell"task instead.
A program you compile runs from a terminal the same way, and a C++ program finds its runtime
library (libc++_shared.so) in the app's own library directory.
pip. A package that has no ready-made build and carries a C extension is compiled on the
device when pip installs it, with the build tools pip fetches for it, so the first one needs a
network. Python's build settings name aarch64-linux-android-clang, which this toolchain
provides under that name, and it puts Python's headers where they are looked for, in
usr/include/python3.14. A large package can take a long time on a phone, and some packages
need libraries that are not here.
Language server. The toolchain includes clangd. Install the toolchain, then the clangd
extension (publisher llvm-vs-code-extensions) from the Extensions view. Open a .c or .cpp
file and the status bar shows clangd: idle after a moment, with error squiggles, completion
and hover. If the extension was installed first, run clangd: Restart language server from the
Command Palette once the toolchain is in. An extension starts clangd by itself, so unlike the
compilers it does not need the terminal's exec interceptor. Without a compile_commands.json or
a compile_flags.txt, clangd parses each file with its default flags, which is enough for a
file or two. Giving it your own flags through one of those files is the usual way for a larger
project, and was not tried here. A toolchain installed before this was added needs installing
again to get clangd.
What is not included: clang-format and the other clang tools; libclang; CMake
and Ninja; OpenMP (-fopenmp); the sanitizers (-fsanitize=); a debugger; and <spawn.h>, so a
program that calls posix_spawn does not compile. Programs are built for the phone, as arm64
Android programs, and for nothing else.
Newly built C/C++ packs make tmpfile() use TMPDIR, and getpwuid() use HOME and SHELL. Reinstall an older pack to get those header fixes. The P_tmpdir and _PATH_TMP macros still name Termux paths; use getenv("TMPDIR") instead.
make -j4 starts four compilers at once, each a process Android counts against its phantom
process limit (see Android Phantom Process Limit); make -j2 is
the sensible ceiling on a phone.
Codex
The Codex toolchain installs codex, OpenAI's command line coding agent, as a command in the
terminal. Install it from the Toolchains screen (see Installing After
Setup); the first-run picker does not offer it. Installing it does not sign
you in to anything.
codex --version
With the Codex extension
The Codex extension from Open VSX, published by OpenAI, carries an engine of its own that cannot start on
Android, so on its own it does nothing. With the toolchain installed, the app starts the toolchain's engine
in its place and the extension works: sign in with ChatGPT from its panel, and the agent can create and edit
files in the project and run commands. The codex command in a terminal shares that sign-in, and
codex login status says whether it is signed in.
What to know before using it:
- Space. The extension is about 420 MB to download and about 1.2 GB once unpacked, on top of the
toolchain's 395 MB, and Codex keeps its own data under
~/.codex: about 150 MB after a few runs, 50 MB of it a catalogue of plugins it fetches when it first starts. A phone short of space may not have room for the extension, or for the next update of the app once it is installed. - Approvals. The engine's own sandbox is not available on Android:
codex sandboxanswers that it is not supported on this operating system. What is left is the approval prompt. In the runs tried, an edit asked first, and so did a command that would write outside the project folder, while a command inside it ran without asking. A command that is allowed runs with the access the terminal has. - Follow-up messages. On an emulator with Android System WebView 134, a follow-up message in an existing
chat failed with
DisposableStack is not defined, and a new chat for each task worked. Newer WebViews were not tried. - Processes. The engine and its helper are two more processes counted against Android's phantom process limit (see Android Phantom Process Limit) while the engine runs.
Removing Toolchains
Open the Toolchains screen by either route in Installing After Setup and remove it there.
Tips and Tricks
tmux for Persistent Sessions
tmux is bundled and works with real PTY support. Use it for long-running tasks that you want to survive terminal tab closes:
tmux new-session -s build # Start a named session
# Run your long build...
# Ctrl+B then D to detach (session keeps running)
tmux attach -t build # Reattach later
tmux list-sessions # See all sessions
tmux kill-session -t build # End a session
Note: tmux is a standalone tool, not integrated with VS Code's terminal tabs.
Process Monitor
The status bar shows a phantom process count. This tells you how many background processes VSCodroid is using.
- Click the process count to see a detailed process tree in the Output panel.
- Before you open anything, the count is the app's own background processes. Each terminal tab and each running language server adds 1.
- At 10 the monitor warns you and at 14 it reports an error; both offer Show Details, which marks the language servers that have sat idle for five minutes or more.
Quick File Navigation
- Ctrl+P then start typing a filename: the fastest way to open files in large projects.
- Ctrl+G to go to a specific line number.
- Ctrl+Shift+O to jump to a symbol (function, class) in the current file.
Multi-cursor Editing
- Ctrl+D: select the next occurrence of the current selection.
- Ctrl+Shift+L: select all occurrences.
- Hold Alt and tap to place additional cursors (on external keyboard).
Zen Mode
Use View: Toggle Zen Mode in the Command Palette to enter or leave Zen Mode, a distraction-free fullscreen editing experience. On a hardware keyboard, Ctrl+K Z enters it and Esc Esc (double Esc) leaves it.
Saving Battery
- Close terminals you are not using. Each open terminal is a separate bash process.
- An idle language server is not killed, by a timer or by hand: its extension restarts it within a second. Disabling the extension that starts it is what frees the slot; VSCodroid: Show Process Tree marks the idle ones.
- Avoid leaving dev servers running in the background when not in use.
Touch Gestures
The editor, the file tree and the status bar answer the gestures a phone expects, but nothing on screen says so. These are the ones that work.
In a file:
- Tap to place the caret. Double-tap to select the word under your finger.
- Drag the caret: put a finger on it or just under it and drag sideways. The caret follows, at the distance your finger started from it. Push the finger toward the top or bottom edge of the editor and the text scrolls; a finger that stays on the first or last visible line does not scroll it, and an editor only a few lines high, such as the one a phone in landscape leaves with the keyboard up, does not scroll at its edges. A drag that starts upward or downward still scrolls, and with text selected or several cursors a drag does nothing to them.
- The soft keyboard comes up for a tap on the text, a line number or the space under the last line, and stays down while you swipe to scroll. Put it away with Back or the hide key in the navigation bar and it stays down until you tap the text again.
- To read a file without the keyboard coming up at all, run File: Toggle
Active Editor Read-only in Session from the Command Palette, or list the
files in the
files.readonlyIncludesetting. A tap then only moves the caret, and pressing and holding still offers Copy. Run the command again to edit. - Press and hold for about a second, then lift, to open the menu: Cut, Copy, Paste, Format Document, Rename Symbol, Go to Definition and the rest. Every item runs on a tap.
- There are no drag handles over code, because the editor draws its own selection rather than the system's. To extend one, tap shift on the key row and drag the trackpad.
In the file tree:
- Press and hold a file for about a second, then lift: Cut, Copy, Rename, Delete and more.
- Paste appears when you hold the destination: a folder, or the empty space under the last file for the project root. Holding another file shows no Paste, which is how VS Code behaves on a desktop as well.
- So moving a file is: hold it, tap Cut, hold the folder you want it in, tap Paste.
In the status bar:
- On a narrow screen the entries at the right end of the bar do not all fit: line and column, indentation, encoding, line ending and language mode, plus whatever extensions add, such as Go Live. Put a finger on an entry at the right end of the bar and drag to the right to bring the hidden ones into view, then tap one as usual.
Keyboard Tips for Touch
- Connect a Bluetooth keyboard for the best experience with complex editing.
- Without an external keyboard, rely heavily on the Command Palette (Ctrl+Shift+P) and the Extra Key Row.
- Pinch-to-zoom is disabled to prevent layout issues; Text Size lists what makes things larger.
Full Screen
For more room, hide Android's status and navigation bars: View > Appearance > Full Screen, or View: Toggle Full Screen in the Command Palette. A swipe from the edge of the screen shows the bars for a moment and they go away again. The same command leaves full screen, and VSCodroid keeps the choice for the next launch.
A camera cutout keeps its band, at the top or at the side when the phone is turned, because the editor cannot go under it. The first time, Android shows its own "Viewing full screen" notice; tap Got it. Zen Mode switches full screen on as well and switches it off when it ends, unless you were already in full screen.
Known Limitations
Native npm Packages
Packages that require C/C++ compilation (node-gyp) fail on VSCodroid unless the C/C++ toolchain is installed, because there is no C compiler on the device otherwise. This affects packages like better-sqlite3, bcrypt, sharp, canvas, and node-sass. With the toolchain installed the compiler is there, but node-gyp also fetches Node's headers over the network and none of these builds has been tried here, so the alternatives remain the reliable route. Pure JavaScript or WASM alternatives exist for most of them (see the Web Development section).
Python Packages Written in C
pip is bundled and installs anything written in pure Python. A package with a
compiled part is different, for two reasons, in the order pip hits them.
There is often no wheel to download. This interpreter reports its platform as
android-24-arm64_v8a, which is what it is, and PyPI carries no Android wheels
for most compiled packages. Pip then falls back to building from source, and
without the C/C++ toolchain there is no C compiler on the device, so that fails
too. With it installed, pip compiles the extension on the device. The error you see names
the missing build tool rather than either of these, which is why it reads as
something you could install your way out of.
VSCodroid points pip at prebuilt Android builds of a few of them, so these install like any other package:
numpy2.5.0pandas3.0.5pydantic-core2.41.5, which is whatpydantic2.12 needs. The newestpydanticwants a later one, so install it aspip install "pydantic<2.13".psutil7.2.2, whichipykernelneeds for Jupyter notebookscryptography50.0.2, withcffi2.1.1, which it needs to load
Each is available at that version only. lxml, pygame, matplotlib, Pillow
and scipy still cannot be installed.
The setting lives in ~/.pip/pip.conf, which VSCodroid rewrites on every launch.
Put your own pip settings in ~/.config/pip/pip.conf instead: pip reads it
afterwards, and any key there overrides the one VSCodroid wrote. Two effects of
VSCodroid's setting are worth knowing:
- pip prefers the newest release of any package that has a ready-made build over
a newer one it would have to build from source, for every package and not only
the ones above.
pip install name==<version>asks for a specific release. - pip reads the page listing those builds on every install, once for each package
it looks up. With no network at all that adds a few seconds per package before
pip carries on. On a network that blocks github.io without refusing the
connection, pip waits out its timeouts instead, about a minute and a half per
package, so an install that pulls in many packages can take far longer than
usual. To switch it off, for example on such a network or when installing from
local files, put
find-links =with nothing after it under[global]in~/.config/pip/pip.conf.
turtle and tkinter are not included at all. Tk draws into a desktop window,
and this app has no window to give it.
For graphics, the practical route is to write a file and look at it. An image
preview updates on its own when the file changes, so a program that rewrites a
PNG or an SVG in the workspace acts as a display you can watch while you edit.
Python's own zlib is enough to write a PNG with no packages at all. For
anything interactive, serve it: python3 -m http.server and open the address, as
in Dev Server Preview above.
Python Command-Line Tools
Some packages install a command as well as a module: pytest, black, httpie,
cowsay. In a terminal they work the moment pip finishes, inside or outside a
virtual environment. Android does not let an app run a program straight out of
its own storage, and what pip writes is exactly that: a short text file starting
with #! and the path to the interpreter. So the terminal starts each one
through the system's own program loader on your behalf (see What Runs in the
Terminal). You will not notice, except that a
program asking the system for its own path is told the loader's.
A program an extension starts on its own does not go through the terminal, and there the launcher pip wrote cannot start. The module form works everywhere, so use it in any script an extension runs for you:
python3 -m pytest
python3 -m black .
pip itself is the same shape and is already handled: pip and pip3 are set up
as shell functions that call python3 -m pip, so they work in the terminal
without anything on your part. A build task that runs outside a shell does not see
those functions, so write python3 -m pip in tasks.json and in any script.
The Python Formatter Is Not in Search Results
Open a Python file and VSCodroid offers to install Black Formatter by
ms-python. Accept it and Format Document works straight away: the extension
carries its own copy of black, so nothing needs installing with pip.
The offer exists because the extension cannot be found any other way. Open VSX does not return it for a text search, its own API included, so the Extensions view cannot surface it however you phrase the query. If you dismissed the offer, ask for it by identifier instead:
@id:ms-python.black-formatter
That returns exactly one result. @id: works for any extension a search does not
surface; the identifier is the publisher.name pair on its registry page.
What a search does return is Black by mikoz. That one also formats Python,
but only after you install black yourself:
pip install black
Until you do, Format Document does nothing at all. There is no error and no
prompt; the status bar shows "Running black" and stays that way.
The shortcut for Format Document here is Ctrl+Shift+I, not the Shift+Alt+F
used on the desktop.
Time Zones In Python
A named time zone raises instead of resolving:
>>> from zoneinfo import ZoneInfo
>>> ZoneInfo("Asia/Jakarta")
zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Asia/Jakarta'
zoneinfo reads the operating system's time zone database, from
/usr/share/zoneinfo and three sibling paths. Android keeps its own database
somewhere else entirely and ships none of those, so the lookup finds nothing.
Install the database as a package and it works from then on, including for
pandas, croniter and anything else that asks zoneinfo for a zone:
pip install tzdata
datetime.now(), time.time() and UTC never needed this. It is named zones only.
Packages With Prebuilt Binaries
Some packages compile nothing. They download a ready-made binary chosen by
platform name, from a fixed list their own installer carries, and Android is not
on those lists. The install then stops with a message naming the platform it did
not recognise, such as Unsupported platform: android arm64 LE. workerd, which
Cloudflare Workers projects pull in through Wrangler, is one of these.
Nothing on the device changes that. The Android build is not published, and taking the Linux one instead would fail later rather than sooner: it is built against a different C library, and an app may not execute a file from its own data directory.
npm install --ignore-scripts installs the rest of the tree, so everything that
does not need that particular binary works. What needs it does not run.
This is not every package with a native part. Rollup, Rolldown, Lightning CSS and oxlint publish Android builds that Node loads as libraries, and npm installs them, which is why VSCodroid reports the platform it actually is rather than pretending to be Linux. esbuild publishes one too, but as a program, and its install step runs it. Without the terminal's program loader (see What Runs in the Terminal) Android refuses to execute it from the app's storage and the install fails; whether esbuild runs through the loader has not been measured. Vite 8 does not need esbuild; Vite 7 and older depend on it.
Toolchains Must Be Started by Name
Android refuses to execute any file inside an app's data directory, which is where
installed toolchains live, so every start of one is handed to the system loader
instead. In a terminal, and in a task the editor runs, the terminal does that for
any program the shell or the task's command goes on to start (see
What Runs in the Terminal).
Everywhere else VSCodroid does it two ways: a bash function per command, and a
small program on PATH that every other kind of start finds.
So a toolchain command works when it is started by its bare name, whoever starts
it: typing ruby in a terminal, bash -c, sh -c, a make recipe, an npm
lifecycle script, a VS Code task of either kind, and a process an extension or a
language server starts directly.
What still fails is a start that names a path instead of a command, when the
start comes from an extension or is the command of a "type": "process" task
itself:
- an absolute path such as
$JAVA_HOME/bin/java, which is not aPATHlookup at all, unless an extension starts it withspawn,execFile,spawnSyncorexecFileSync, which VSCodroid hands to the system loader (see Extensions That Bundle a Compiled Program) - a toolchain that forks its own helper by absolute path, which is what the JDK's
lib/jspawnhelperdoes jshellstarted anywhere but bash, because its default engine starts a second JVM that way; the terminal'sjshellruns your snippets in its own JVM instead- a script under the app's storage run by its own path: Android refuses the script file itself, before its
#!line is ever read. Run it asruby script.rbinstead
In a terminal, in a shell task, and in whatever a process task's command starts, an absolute path, a forked helper and a script run by its own path all work.
npm and npx are reached the same two ways: a bash function in a shell, and a
program on PATH for everything else. So sh -c 'npm -v', timeout 60 npm install
and a tool that runs npm install itself all find them, as the terminal does.
The C/C++ toolchain is the one exception, and it is the other way round. Its
compilers get no bash function and no program on PATH, because starting a compiler through the
loader by hand makes clang believe it is the loader and look for its headers in the wrong place.
They are found on PATH like any program and started by the terminal's own exec, so they work in
a terminal and in a "type": "shell" task. Of what starts a process without a terminal, only an
extension's start of a compiler by its full path, without a shell, gets the same loader and the
compiler's own path, which has not been tried with an extension.
clangd is the exception to the exception: a language client starts it without a terminal, so it
does get a program on PATH, which hands it the directory of clang's own headers.
Android Phantom Process Limit
Android 12 and later enforce a system-wide limit of 32 phantom processes (background processes spawned by apps). VSCodroid minimizes its footprint:
| Component | Phantom Processes |
|---|---|
| Bootstrap | 1 |
| Node.js server | 1 |
| File watcher | 1 |
| Extension Host | 0 (runs as worker thread) |
| ptyHost | 0 (runs as worker thread) |
| Each terminal tab | 1 (bash) |
| Each language server | 1 |
What the status bar shows on a cold start, before you do anything, is the app's own share. Nothing sheds a language server automatically: a killed one is restarted by its extension within a second. If you hit the limit (other apps compete for the same 32 slots), close unused terminals and disable the extensions whose language servers VSCodroid: Show Process Tree marks idle.
Memory Usage
How much memory VSCodroid uses depends mostly on what you open: each terminal and each language server is a process of its own. On devices with 4 GB or less, you may experience occasional restarts under memory pressure. Tips:
- Close browser tabs and other apps to free RAM.
- Limit concurrent terminals to 1-2.
- Language servers are the biggest memory consumers. Nothing sheds them automatically, because their extensions restart them; disable the extensions you are not using. VSCodroid: Show Process Tree marks the idle ones.
os.cpus() Returns Empty
os.cpus() returns an empty array on Android. This is cosmetic: tools that display CPU core counts may show 0, but actual performance is unaffected.
Microsoft-only Extensions
Extensions exclusive to the Microsoft Marketplace (such as Microsoft C/C++ and some other Microsoft-published extensions) are not available on Open VSX. Check Open VSX for community-maintained alternatives. GitHub Copilot Chat is not affected: it ships built in and works on device.
Claude Code Reports "terminated by signal SIGSYS"
An Android app may only make the system calls the platform's C library exposes,
and a call outside that list is not an error a program can recover from: the
kernel stops it there. The Claude Code extension carries its own program, whose
runtime asks for epoll_pwait2, and that call is on the list only from Android
15 onward.
VSCodroid answers that one call itself, so sign-in and everyday use work on
Android 13 and 14 as well. If the panel still reports
Claude Code process terminated by signal SIGSYS, or claude in a terminal prints
Bad system call, a newer release of the extension is asking for a call VSCodroid does not
answer yet. Please report it with your Android version and the extension
version; there is nothing to change on your side.
Extensions That Bundle a Compiled Program
Extensions written in JavaScript, TypeScript or WebAssembly work. An extension that carries a program compiled for desktop Linux may not, and when it does not, the way it fails is the real problem: it installs, it shows as enabled in the Extensions panel, and then its features are simply absent. No error, no notification, nothing on screen. That silence is the editor's own behaviour, not a fault in VSCodroid: a release build writes an extension's startup failure to a log and deliberately raises no notification for it.
Two walls stand behind this, and they are not the same wall. The first is that Android's C library is not the one desktop Linux distributions build against, so a whole program compiled for them cannot start here at all. An add-on loaded into the editor is the softer case: VSCodroid ships a compatibility layer that lets add-ons built for desktop Linux load anyway, and the ones inside the app depend on it. That layer is generated from the add-ons the app itself carries, supplying the library names and the exact functions those ask for, so an add-on you install later loads only if what it asks for happens to fall inside that same set. An add-on built against GNU's C++ standard library is outside it altogether, and even a load that succeeds is not a promise: the two C libraries lay some structures out differently, so an add-on can start and then misbehave.
The second wall is that Android refuses to execute any file inside an app's own
storage, which is exactly where an installed extension lives, so even a
correctly built program has to be handed to a loader by something else. In a
terminal that is done for you (see What Runs in the
Terminal), but an extension starts its program
itself, outside any terminal, and that start is not covered.
VSCodroid asks the marketplace for the musl build wherever an extension
publishes one, which is what makes that route possible at all, but the extension
itself then has to offer a setting that lets its command be prefixed. Almost
none do. The Codex extension is handled by the app instead: see Codex. So is a
program built for Android itself that an extension downloads into its storage and then starts with spawn,
execFile or their synchronous forms: the app hands it to the system loader, which is how the engine of Google
Antigravity runs (see Google Antigravity), and gives it the terminal's program loader for
whatever it starts in turn, unless the start names, runs in or searches ~/.gemini.
How to recognise it. The extension is installed and enabled, its commands are missing from the Command Palette or do nothing when run, and the Problems panel and status bar stay empty. Run Developer: Show Logs... from the Command Palette and read the extension host log; the reason is there and nowhere else.
An example is Kilo Code. Version 7.8.27 installs and its icon appears in the
Activity Bar, but its panel stays empty. The log says Activating extension
kilocode.kilo-code failed with Unsupported platform: android, raised by
Playwright, a library the extension carries, and the engine program it ships
needs libstdc++, which VSCodroid does not provide. Neither is something to
change on your side. For an AI assistant that runs here, see Codex;
GitHub Copilot Chat is built in.
One variant is loud rather than silent. An extension that publishes a
separate build per platform, with no musl build and no platform-independent one,
refuses to install at all, with a dialog reading
The 'publisher.name' extension is not available in VSCodroid for the Alpine ARM 64 platform. Alpine is not what
your phone is running; it is the build VSCodroid asks for, for the reason above.
Read that message as "this extension publishes nothing that can run here".
What to install instead. Prefer language support written in JavaScript or TypeScript, or compiled to WebAssembly. On an extension's Open VSX page, a download list naming several operating systems and processors is certain to be shipping a compiled program. A single download covering all platforms is not proof of the opposite: some extensions carry a compiled helper inside that one package, and the helper is the part that can fail.
The Interface Follows Your Phone's Language
Menus, commands, settings descriptions and dialogs come up in the language the phone is set to. There is nothing to turn on and nothing to install: change the language in Android's Settings, then start VSCodroid.
Thirteen languages ship inside the app: Chinese (Simplified and Traditional), Czech, French, German, Italian, Japanese, Korean, Polish, Portuguese (Brazil), Russian, Spanish and Turkish. A phone set to Portuguese gets the Brazilian translation wherever it is, because that is the only Portuguese the editor has been translated into. Any other language leaves the interface in English.
The translations are the ones the desktop editor uses, built into the app from
Microsoft's vscode-loc packs. A display-language pack from Open VSX is neither
needed nor used, and installing one adds no language to the list above.
VSCodroid's own screens follow the same list: the setup progress, the toolchain picker, and the notifications and dialogs the app puts on screen are translated into those thirteen languages too. On Android 13 and later they can be set separately from the phone, under Settings, Apps, VSCodroid, Language, and the editor follows that choice as well. Android 10, 11 and 12 have no such setting, so there the app and the editor follow the phone's language.
VSCodroid's own commands, settings and the Get Started walkthrough are translated into the same thirteen languages. An extension you install from Open VSX carries its own translations if its author wrote any, and English if not.
Two things stay English whatever the phone is set to. The occasional editor string the translation packs do not cover, roughly one in fifty. And the messages an extension shows while it is running, VSCodroid's own included: what is translated for an extension is what its manifest declares, its commands and its settings, while the notices it puts on screen as it works are written into its code. The exceptions are VSCodroid's two notices about the Google Antigravity engine: the one that says what turning the engine on exposes, translated with its buttons, and the one that names a settings file whose error keeps the engine off.
Changing the language while VSCodroid is running takes effect on the spot: the editor reloads in the new one. What does not change is anything already written, including the terminal's output and the app's own notifications from before the change.
No Multi-window
VS Code's web client runs as a single window. You cannot open multiple VS Code windows side by side. However, you can use Android's split-screen mode to pair VSCodroid with another app (like a browser for previewing).
A Program Changes a Device Folder While It Opens
While a device folder is opening, VSCodroid shows a progress dialog and records what a program that was already running, such as a terminal command, changes in the folder's copy, then sends it once the folder is open: a file or folder it deletes is deleted on the device too, also one it renamed first, through the same checks as a delete in the editor, a file it saves is sent, and a folder it renames is renamed on the device, with what was saved in it. The folder already open is recorded the same way while you open another one: if that other folder does not open, what a program changed in the folder already open in the meantime is sent once VSCodroid watches it again, and if it does open, those changes are ones made while the folder was closed, as described below. Some changes are not carried through then. A change inside a folder that appeared on the device since the folder was last opened is not seen: a file saved there reaches the device at its next save or the next open, and a file deleted there comes back at the next open. A file deleted during that time stays on the device, with a notice, when VSCodroid has never read the whole of that file: each open reads up to about 64 MB of the files it kept from before, so in a large folder this can take a few opens. A folder it moves out of the folder stays on the device and comes back at the next open. A folder renamed onto an existing empty folder ends up on the device under both names. If sending these changes fails partway, a notice says so, and for the folder already open it says they were made while another folder was opening: a file saved then reaches the device at its next save, a file deleted then comes back at the next open, and a folder renamed then keeps its old name on the device. Closing the folder, opening another, or closing VSCodroid itself (for example by swiping it away from the recent apps) before they are all sent, or before the folder has finished opening, leaves what was not sent as a change made while the folder was closed, without a notice: a file saved then reaches the device at the next open, and a file deleted then comes back at the next open. Nothing is lost. Start such commands after the dialog has closed.
A Program Writes a File While Its Folder Opens
When opening a device folder brings in a newer copy of a file you already have and a program saves into that file in the same moment, the save is kept beside it as <name>.local-<time>, in the editor and in the device folder, and a notice says so. If the storage is full, as much of the save as could be copied is kept under that name and a notice says the save could not be kept whole. Three cases are not covered, each within a fraction of a second of the newer copy going in: a save into the old file made just after VSCodroid has looked at it for the last time, a save made by renaming a finished file over the name, and a file a program creates at the name of one the folder is bringing in for the first time. In those, what the program wrote goes. Let such programs finish before you open the folder.
Saving a Download Over an Existing File
A download saved over a file that already exists is copied in two steps, and Android offers no way to replace a document in one. If the storage fails in the middle of the second step, for example a memory card is removed or a cloud drive reports an error, that file can be left partly overwritten. Download to a new name when the destination is removable or on a cloud drive.
Storage
Core installation extracts approximately 603 MB to internal storage. With Ruby and Java installed, expect around 840 MB, and about 1,120 MB with C/C++ as well. The Codex toolchain adds about 395 MB. The core figure, which the totals include, is the size of its files; on disk they take more, because the filesystem allocates every file and directory in whole blocks. Setup counts that allocation for each file it is about to write and adds a small working margin, which is why it needs about 800 MB free before it starts. If it refuses, it asks for the shortfall it measured rather than the whole figure, so a device part of the way through is asked only for what is missing. Beyond it, keep a few hundred MB free for node_modules, build artifacts and caches.
Troubleshooting
Blank Screen on Launch
If the app shows a blank screen after opening:
- Wait 10-15 seconds: the Node.js server may still be starting.
- If it persists, force-close the app and reopen it.
- If the issue continues, clearing app data forces a fresh extraction. Read the warning below before you do it.
Clearing app data deletes every project in
~/projects/.On a new install
~/projects/is inside the app's internal storage, which Clear Data wipes along with everything else, and nothing is backed up. An install from before 1.2.0 that already had a projects directory in the app's area of shared storage (Android/data/com.vscodroid/files/projects) keeps using it, and Clear Data wipes that too. New installs stopped using that location because shared storage cannot hold a symbolic link, sonpm installfailed there on the first package that ships an executable.
Rescue anything unsaved first. Which route is open to you depends on whether the editor still works, and on a blank screen it does not:
If the editor will not open, nothing outside the app reaches a new install's
projects: internal storage is not exposed over USB or MTP, and adb pull cannot
read it from a release build. What is left:
- A debug build is readable with
adb shell run-as com.vscodroid.debug, and its projects can be copied out from there. The release builds refuserun-as. - An install that still keeps its projects on shared storage can be read as before, with USB debugging on:
adb pull /storage/emulated/0/Android/data/com.vscodroid/files/projects
Some devices also expose that path over MTP when plugged in.
Everything else needs the editor, which is why the routes below are worth taking before a screen goes white rather than after.
If the editor does open and you are clearing data for some other reason, two in-app routes exist:
- Push to a remote, if the project is a git repository. This is the only route that preserves history.
- Or run VSCodroid: Open Folder from Device from the Command Palette
(Ctrl+Shift+P), choose a folder outside the app such as Documents, and copy
your work there. A folder opened that way lives outside the app's storage, so
Clear Data does not touch it. Device-folder sync skips directories named
.git,.env,node_modules,.gradle,.idea,venvand__pycache__. An ordinary.envfile is copied, including any configuration or secrets it contains. This rescues your files, but the excluded.gitdirectory means it does not preserve repository history.
Then clear app data from Settings > Apps > VSCodroid > Clear Data and relaunch.
Terminal Commands Not Found
If node, python3, git, or other tools show "command not found":
- Open a new terminal tab. PATH is set up when a new bash session starts.
- Verify the tool exists:
ls -la $(which node)(should point to the bundled binary). - If the issue persists, close the app completely and reopen.
When ~/.bashrc, ~/.bash_profile, ~/.tmux.conf or ~/.ssh/config is a link to a file that does not exist, in a folder that does, VSCodroid creates that file with its own setup at the next launch; make the file exist with your own text to keep it.
Permission Denied on a File in Downloads
cp, cat and other terminal commands answer Permission denied for a file
the browser or another app saved in Downloads, Documents or elsewhere in shared
storage. cp names the destination in that message, which makes the project
folder look like the problem; it is the file being read. VSCodroid holds no
storage permission, so in the terminal ls /sdcard/Download lists only the
files VSCodroid saved there itself.
Bring the file inside instead:
- In the Explorer, long-press a folder or the empty area below the files and choose Upload..., then pick the file. This reaches a file that sits directly in Downloads.
- Or run VSCodroid: Open Folder from Device and allow the folder that holds
the files, as Opening Files and Folders
describes. A terminal opened there copies in both directions:
cp name.txt ~/projects/andcp ~/projects/name.txt ..
Android has no /tmp either, so a command that writes there answers the same
way; use $TMPDIR.
Extensions Not Installing
- Check your internet connection: extension search and download require connectivity.
- Search directly on open-vsx.org to verify the extension exists there.
- Some extensions require a newer editor than the one you have. Run About from the Command Palette (
Ctrl+Shift+P) to see which version VSCodroid is built on and compare it with the extension's requirement on open-vsx.org. Marketplace installation selects a compatible release when one is available and refuses the install otherwise. A VSIX requiring a newer editor is also refused; choose an older compatible version.
npm Install Fails
If npm install fails with errors:
- EACCES / permission errors can mean an install step tried to run a program the package downloaded, which Android does not allow inside the app's storage; esbuild is one such package (see Known Limitations). If it is about writing a file or folder (
mkdir,open) rather than running a program, make sure you are working inside~/projects/or your home directory, not in a system path. - node-gyp / compilation errors: the package requires native compilation. Use a pure JS alternative (see Known Limitations).
- Unsupported platform errors come from a package whose prebuilt binaries have no Android build, so there is nothing to install (see Known Limitations).
- Network timeout: check your internet connection. npm uses
--prefer-offlineby default, so cached packages install without network.
Python: Installed, and Then Something Fails
bad interpreter: Permission deniedfrom a command pip installed (pytest,black,httpie) when something other than a terminal or a task starts it, such as an extension running it on its own. Run it as a module there,python3 -m pytest, which works everywhere. In a terminal the command itself works the moment pip finishes; the same message there means the terminal's program loader is switched off, so checkterminal.integrated.env.linuxin the Remote settings tab (see What Runs in the Terminal). The message namespython3because the one-line launcher pip wrote could not start, not because Python is broken.Format Documentdoes nothing in a.pyfile and the status bar sticks on "Running black". That is the formatter a marketplace search finds, which needs black installed separately (pip install black) and says nothing when it is missing. Opening a Python file offers you one that needs no pip step; see The Python Formatter Is Not in Search Results.ZoneInfoNotFoundErrorfromzoneinfo,pandasor anything that resolves a named time zone.pip install tzdataand it works from then on; see Time Zones In Python.ModuleNotFoundError: No module named 'tkinter'(or'turtle'), including from a package built on them such ascustomtkinter. Neither is included, and pip cannot add them:pip install tkinterfinds no such package, andpip install tkinstalls an unrelated one. To show graphics, write a PNG or an SVG and keep it open in a preview, or serve a page and open it in the browser; see Python Packages Written in C.
Git Push/Pull Fails
- Permission denied (publickey): generate an SSH key with
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519in the terminal and add it to your GitHub/GitLab account. The-fis required; see Generating an SSH Key for why. - SSL certificate error: the CA bundle the terminal uses is built from your device's own trust store: the system roots, plus any certificate authority you installed yourself through Android Settings, under the CA-certificate flow in the device's security settings. git, Python, pip, Ruby and the bundled Node.js (
npmincluded, when the bundle file is present) are all given it, so a private or corporate CA works forgit clone,pip installandnpm installalike, from the next time you open the app: the bundle is rebuilt at launch, not while the app is running. If you would rather not install a CA on the device, an SSH remote (git@) instead ofhttps://is still the shortest route to an internal host. Two things that bundle does not reach: pages loaded inside the editor, which use the system roots only, and the optional Java 25 toolchain, which reads its own keystore at$JAVA_HOME/lib/security/cacerts. To add a private CA for Java, import its PEM file in the terminal withkeytool -importcert -cacerts -alias my-ca -file ~/ca.pem -storepass changeit -noprompt(import one certificate per file under a distinct-alias; removing and reinstalling the Java 25 toolchain replacescacerts, so repeat the import afterwards). Turning a system root off in Android Settings drops it from the bundle at the next launch forgit, Python,curl, Ruby and Node.js (httpsandnpm), whereaspip(which also loads its vendoredcertifibundle), the extension host'sfetchand WebSocket client (which merge Node's compiled-in root list with the bundle), and Java 25 (cacerts) keep trusting roots that remain in their own built-in lists.
App Uses Too Much Storage
To reclaim space:
# Clear npm cache
npm cache clean --force
# Remove node_modules from old projects
rm -rf ~/projects/old-project/node_modules
# Clear pip cache
python3 -m pip cache purge
# Check disk usage
du -sh ~/projects/*
du -sh ~/.vscodroid/extensions/*
To remove an installed toolchain, run VSCodroid: Manage Toolchains from the Command Palette, or touch and hold the app icon and choose Manage toolchains; see Installing After Setup.
App Crashes or Restarts Unexpectedly
This is usually caused by Android's memory management killing background processes:
- Close other apps to free RAM.
- Reduce the number of open terminal tabs.
- Check the process monitor in the status bar: if phantom count is high, close unused terminals.
- On devices with 4 GB RAM or less, consider keeping only one project open at a time.
- If it keeps happening, send a report; see Sending a Bug Report.
Settings or Sign-ins Missing After a Start
The editor's page lives at a local address, 127.0.0.1 and a port, and the
editor keeps your settings, sign-ins and open files under that address. If
another app is using the port when VSCodroid starts, the editor opens on another
port for that session and says so. Your settings, sign-ins and open files are
then not shown, but they are not lost:
- Close the app that uses the port, if you know which one it is.
- Tap Stop Server on the notice that says so, or in VSCodroid's notification, then open VSCodroid again. If the notice is gone and you turned notifications off for VSCodroid, use Force stop for VSCodroid in the system's app settings instead. Every start tries the usual port first.
- What you change in such a session stays with the other port, and comes back only if a later start has to use that port again. Save your files before you stop.
Dev Server Not Accessible in Browser
If the preview tab or the device browser opens but the page does not load:
- Verify the server is running in the terminal (check for errors).
- Use the host and port the dev server printed.
http://localhost:PORTandhttp://127.0.0.1:PORTreach the same loopback server, and either works.0.0.0.0is an address to bind to, not one to browse to. - To reach the server from another device on the same network, restart it
bound to every interface (
--host 0.0.0.0for Vite,-H 0.0.0.0for Next.js,--bind 0.0.0.0for Python) and run VSCodroid: Serve on Network from the Command Palette for the address the other device should use.
WebView Crash Recovery
If the editor UI crashes but the app stays open, VSCodroid automatically recovers the WebView and reconnects to the running server. Your terminal sessions and unsaved work in the editor state are preserved.
Recovery is bounded, because reloading a page that is itself the cause only repeats the crash. Three crashes inside a minute are recovered from as normal; a fourth stops the automatic reload and puts up a page saying so, with a Try again button that reloads the editor when you are ready. The server keeps running behind it either way, so nothing needs force-closing.
Sending a Bug Report
If the editor freezes, reloads by itself or the app closes, run VSCodroid: Copy Bug Report from the Command Palette once the editor is back. The report opens in a new editor tab: the device and app version, how Android recorded the app's recent exits (one it declared not responding shows as ANR, one closed to free memory as LOW_MEMORY), each time the process that draws the editor died, the newest crash logs and the last 200 lines of the server log. Nothing is sent anywhere.
Read it before you share it. The server log can name your files and folders, and you can delete any line you want kept private. Then tap Copy in the notification that comes with it, or Copy Bug Report in the status bar, which stays there while the report is open, and paste the report into an issue at github.com/rmyndharis/VSCodroid/issues.
VSCodroid is built from the MIT-licensed Code - OSS source code. Not affiliated with or endorsed by Microsoft Corporation. "Visual Studio Code" and "VS Code" are trademarks of Microsoft. Uses Open VSX extension registry, not Microsoft Marketplace.
VSCodroid