Skip to main content
Android Code Studio provides a comprehensive preferences system to customize the IDE behavior, appearance, and functionality.

Accessing Preferences

Access preferences through:
  • Settings Menu: Navigate to Settings > Preferences
  • Configuration Files: Preferences are stored using Android’s SharedPreferences system

General Preferences

Interface Configuration

idepref_general_uiMode
choice
default:"System Default"
UI Mode - Controls the application themeOptions:
  • Light mode
  • Dark mode
  • System default (follows device settings)
Changing UI mode requires an app restart to take effect.
idpref_general_theme
choice
default:"DEFAULT"
Theme Selector - Choose from available IDE color themesThemes include various color schemes optimized for different preferences. Available themes are dynamically loaded from the IDE.
Changing themes requires restarting the application.
idepref_general_snowfall
boolean
default:"true"
Snowfall Overlay - Enable or disable decorative snowfall effect
Requires app restart when changed.
idpref_general_locale
choice
default:"null"
Language Selection - Choose the IDE display languageOptions:
  • System default (null)
  • Supported locales from LocaleProvider
The IDE supports multiple languages through Crowdin translations.

Project Configuration

idepref_general_autoOpenProjects
boolean
default:"true"
Auto-Open Projects - Automatically open the last opened project on startupWhen enabled, the IDE will restore your previous project session automatically.
idepref_general_confirmProjectOpen
boolean
default:"false"
Confirm Project Open - Show confirmation dialog when opening projectsUseful for preventing accidental project switches.
ide_last_project
string
default:"<NO_OPENED_PROJECT>"
Last Opened Project - Path to the most recently opened projectThis is automatically managed by the IDE.

Terminal Configuration

idepref_general_terminalShell
boolean
default:"false"
Use System Shell - Use system shell instead of Termux login shellWhen enabled, the terminal uses the system’s default shell environment instead of the Termux-provided bash shell.

Editor Preferences

Common Editor Settings

idepref_editor_fontSize
float
default:"14.0"
Font Size - Editor text size in pixelsRange: 6.0 - 32.0 pixelsAdjust for comfortable reading on your device.
idepref_editor_tabSize
integer
default:"4"
Tab Size - Number of spaces per tab characterOptions: 2, 4, 6, or 8 spaces
idepref_editor_useSoftTab
boolean
default:"true"
Use Soft Tabs - Insert spaces instead of tab charactersWhen enabled, pressing Tab inserts spaces according to the tab size setting.
idepref_editor_colorScheme
string
default:"default"
Color Scheme - Syntax highlighting color schemeAvailable schemes are provided by IDEColorSchemeProvider. Each scheme offers different syntax highlighting colors optimized for readability.
idepref_editor_fontLigatures
boolean
default:"true"
Font Ligatures - Enable programming ligatures (e.g., !=, =>, <=)Requires a font that supports ligatures. Default font is JetBrains Mono.
idepref_selected_custom_font
string
default:"null"
Custom Font - Use a custom font file for the editorFont files (.ttf, .otf) should be placed in ~/.androidide/ui/ directory. Select from available fonts or add new ones.Default: JetBrains Mono (embedded)
auto_save_enabled
boolean
default:"true"
Auto Save - Automatically save files when switching tabs or closingHelps prevent data loss from unexpected app closures.
idepref_editor_autoSave
boolean
default:"false"
Auto Save (Periodic) - Automatically save files at regular intervals
idepref_editor_show_keyboard_suggestions
boolean
default:"true"
Keyboard Suggestions - Show keyboard autocomplete suggestions
idepref_editor_word_wrap
boolean
default:"false"
Word Wrap - Wrap long lines to fit screen width
idepref_editor_use_magnifier
boolean
default:"true"
Use Magnifier - Show magnifying glass when selecting text
idepref_editor_useIcu
boolean
default:"false"
Use ICU - Use ICU library for text segmentationImproves word selection and navigation for non-Latin scripts.
idepref_editor_flagPassword
boolean
default:"true"
Visible Password Flag - Show password visibility toggle in password fields
idepref_editor_deleteEmptyLines
boolean
default:"true"
Delete Empty Lines - Remove empty lines when pressing backspace
idepref_editor_deleteTab
boolean
default:"true"
Delete Tabs on Backspace - Delete entire tab width when pressing backspace
idepref_editor_stickyScrollEnabled
boolean
default:"false"
Sticky Scroll - Keep function/class headers visible when scrolling
idepref_editor_pinLineNumbers
boolean
default:"true"
Pin Line Numbers - Keep line numbers visible when scrolling horizontally
idepref_editor_completions_matchLower
boolean
default:"false"
Match Lowercase - Match completions case-insensitively

Non-Printable Characters

Control the visualization of whitespace and special characters:
idepref_editor_wsLeading
boolean
default:"false"
Show Leading Whitespace - Display leading spaces and tabs
idepref_editor_wsTrailing
boolean
default:"false"
Show Trailing Whitespace - Display trailing spaces and tabs
idepref_editor_wsInner
boolean
default:"false"
Show Inner Whitespace - Display spaces between words
idepref_editor_wsEmptyLine
boolean
default:"false"
Show Empty Line Whitespace - Display whitespace on empty lines
idepref_editor_lineBreak
boolean
default:"false"
Show Line Breaks - Display line break symbols

Java-Specific Settings

idepref_java_useGoogleStyle
boolean
default:"true"
Google Code Style - Use Google Java code style for formattingWhen enabled, code formatting follows Google’s Java style guide.
idepref_java_diagnosticEnabled
boolean
default:"true"
Java Diagnostics - Enable real-time error checking for Java filesProvides inline error and warning messages while editing.

Build & Run Preferences

Gradle Options

ide.build.enableBuildOutput
boolean
default:"true"
Enable Build Output - Show detailed build output in the console
ide.build.enableDependenciesUpdater
boolean
default:"true"
Dependencies Updater - Check for and notify about dependency updates
ide.build.enableKotlinIndexingNotification
boolean
default:"true"
Kotlin Indexing Notification - Show notification during Kotlin project indexing

Gradle Command Options

idepref_gradleCmd_stacktrace
boolean
default:"false"
—stacktrace - Include stack traces in build output
idepref_gradleCmd_info
boolean
default:"true (first build)"
—info - Show informational log messages
idepref_gradleCmd_debug
boolean
default:"false"
—debug - Show debug log messages
idepref_gradleCmd_scan
boolean
default:"false"
—scan - Create a build scan
idepref_gradleCmd_warningMode
boolean
default:"false"
—warning-mode all - Show all warnings
idepref_gradleCmd_buildCache
boolean
default:"false"
—build-cache - Enable Gradle build cache
idepref_gradleCmd_offlineMode
boolean
default:"false"
—offline - Build without network access
idepref_build_customGradleInstallation
string
default:""
Custom Gradle Installation - Path to custom Gradle distributionLeave empty to use the Gradle wrapper specified in the project.

Run Options

ide.build.run.installViaShizuku
boolean
default:"false"
Install via Shizuku - Use Shizuku for APK installationRequires Shizuku service to be running. Provides faster installation without manual confirmation.
ide.build.run.launchAppAfterInstall
boolean
default:"true"
Launch App After Install - Automatically launch the app after successful installation

Developer Options

idepref_ide_logs_enabled
boolean
default:"false"
IDE Logs - Enable detailed IDE logging for troubleshooting
This may impact performance and is intended for debugging purposes.

Configuration File Location

Preferences are stored in Android’s SharedPreferences system:
  • Location: /data/data/com.tom.rv2ide/shared_prefs/
  • Format: XML-based SharedPreferences
  • Access: Through PreferenceManager in the IDE

Resetting Preferences

To reset preferences:
1

Via Settings

Navigate to Settings > About > Reset Preferences
2

Manual Reset

Clear app data through Android system settings:Settings > Apps > Android Code Studio > Storage > Clear Data
This will reset all preferences and remove cached data.

Best Practices

Performance Optimization
  • Disable features you don’t use (magnifier, sticky scroll, etc.)
  • Reduce font size on smaller devices
  • Enable build cache for faster builds
Code Quality
  • Enable Google Code Style for Java projects
  • Enable diagnostics for real-time error checking
  • Use appropriate tab size matching your project conventions
Workflow Efficiency
  • Enable auto-save to prevent data loss
  • Configure Gradle commands based on your debugging needs
  • Use auto-open projects for quick access

Build docs developers (and LLMs) love