Overview
The terminal tool gives you access to:- Full bash shell environment
- Package management for installing development tools
- Multiple terminal sessions
- Customizable keyboard shortcuts
- Integration with the IDE workspace
Opening the Terminal
Access the terminal from the navigation menu or bottom navigation bar in the IDE.Features
Multiple Sessions
Create and manage multiple terminal sessions simultaneously:The number of sessions you can create depends on your device’s memory and performance.
Extra Keys Row
The terminal includes a customizable extra keys row above the keyboard with commonly used keys:- ESC - Escape key
- CTRL - Control modifier
- ALT - Alt modifier
- TAB - Tab key for completion
- Arrow keys - Navigate command history and text
- Special characters - Quick access to
|,&,;, etc.
Session Management
Common Commands
Package Management
The terminal uses the pkg package manager:Development Workflows
Keyboard Shortcuts
The terminal supports various keyboard shortcuts when using an external keyboard:| Shortcut | Action |
|---|---|
Ctrl + C | Interrupt current process |
Ctrl + D | Exit shell / End of input |
Ctrl + Z | Suspend current process |
Ctrl + L | Clear screen |
Ctrl + A | Move cursor to line start |
Ctrl + E | Move cursor to line end |
Ctrl + K | Delete from cursor to end of line |
Ctrl + U | Delete from cursor to start of line |
Up/Down Arrow | Navigate command history |
Environment Variables
The terminal provides access to IDE-specific environment variables:Environment Info
Integration with IDE
Project Context
When opened from a project, the terminal automatically sets the working directory to your project root:IDE Setup Scripts
The terminal can run IDE setup scripts for initial configuration:Running IDE Setup
Troubleshooting
Terminal Won’t Start
Clear App Data
If persistent issues occur, try clearing app data (Settings > Apps > Android Code Studio > Clear Data)
Command Not Found
Fix Missing Commands
Session Limit Reached
If you can’t create new sessions:- Close unused sessions by swiping them away
- Check your device’s available memory
- Restart the terminal activity
Text Display Issues
If text appears garbled or incorrectly rendered:Reset Terminal
Advanced Usage
Custom Startup Scripts
Create custom startup scripts in your home directory:~/.bashrc
Background Processes
Run long-running commands in the background:Background Jobs