Android Studio is a powerful development environment from Google, but not everyone likes its dark interface by default. Some people prefer a light theme for less strain on the eyes in daylight, while others simply donโt like the aesthetics Darcula. Fortunately, you can change the design in just a few clicks - or by editing configuration files if standard methods do not work.
In this article we will look at all the current ways to disable the dark theme: from basic settings to manually changing parameters in idea.properties. You will also learn how to return the light interface if Android Studio ignores your changes, and what to do if, after updating the IDE, the theme was reset back to Darcula. The material is suitable for all versions Android Studio from 2.0 to the latest today.
1. Standard method: changing the theme through the settings
The easiest method is to use the built-in settings menu. It works 95% of the time and does not require administrator rights or editing system files. Here are step-by-step guide:
- Open Android Studio and wait until the project is completely loaded (or create a new one if the IDE starts without a project).
- Go to the top menu and select
File โ Settings(on macOS:Android Studio โ Preferences). - In the left panel, find the section
Appearance & Behavior โ Appearance. - In the drop-down menu
Themeselect Light (orIntelliJif you want the classic light theme from JetBrains). - Click
OKand restart Android Studiofor the changes to take effect.
If the theme has not changed after restarting, check if the settings are being overridden by plugins. For example, Material Theme UI or Atom Material Icons can force a dark interface to be installed. We will talk about this in the section about plugins.
โ๏ธ Check before changing the theme
If the item Settings is inactive, try closing all open projects or running Android Studio with administrator rights (on Windows).
On macOS and some distributions Linux (for example, Ubuntu s GNOME) a bug may occur in which the theme is reset after updating the system. In this case will help force reset the cache:
- Close Android Studio.
- Delete the folder
~/.AndroidStudio{version}/config/options(to Windows:%APPDATA%\Google\AndroidStudio{version}\options). - Start the IDE again and change the theme again.
2. Manually editing idea.properties
If the standard method did not work, you can manually register a light theme in the configuration. file idea.properties. This method is suitable for experienced users, as it requires working with system files.
The file idea.properties is located in the following folders (depending on the OS):
- ๐ช Windows:
C:\app Files\Android\Android Studio\bin\idea.properties - ๐ macOS:
/Applications/Android Studio.app/Contents/bin/idea.properties - ๐ง Linux:
/opt/android-studio/bin/idea.propertiesor/usr/local/android-studio/bin/idea.properties
Open the file in any text editor (for example, Notepad++ or VS Code) and add the following line at the end:
idea.theme.name=Light
If the line already exists but has a value Darcula, simply replace it. Save the file and restart Android Studio. Important: on Windows i Linux you may need to run the editor as administrator (sudo).
What to do if the idea.properties file is missing?
If the file is not in the specified folder, you can create it yourself. Copy any existing .properties file from the same directory (for example, idea.vmoptions), rename to idea.properties, clear the contents and add a subject line.
โ ๏ธ Attention: Starting from Android Studio 4.2, some builds ignore manual edits inidea.properties, if enabled in the settings parameterOverride IDE theme by OS appearance. Check this item inSettings โ Appearance & Behavior โ Appearance.
3. Reset settings to factory settings
If the theme does not change either through the menu or through idea.properties, the configuration files may be damaged Android Studio. In this case, a full reset will help. Please note that this will delete all your personal settings (cache, project history, plugins), so first make a backup copy of the folder config.
Instructions for resetting:
- Close Android Studio.
- Delete or rename the folder with settings:
- ๐ช Windows:
%APPDATA%\Google\AndroidStudio{version} - ๐ macOS:
~/Library/Application Support/Google/AndroidStudio{version} - ๐ง Linux:
~/.config/Google/AndroidStudio{version}or~/.AndroidStudio{version}
- ๐ช Windows:
After the reset, you will have to reinstall the plugins and configure the environment, but this is guaranteed to solve the problem with the theme. If you are afraid of losing important data (for example, settings Git or SDK), you can try deleting only the file options.xml inside the folder config/options.
4. Problems with plugins: Material Theme UI and others
Many plugins for customizing the interface (for example, Material Theme UI, Atom Material Icons, One Dark Theme) can override the system theme. If after changing the settings in Appearance nothing happens, check the list of installed plugins:
- Open
File โ Settings โ Plugins. - In the search bar, enter
themeormaterial. - Disable all plugins related to interface design (button
Disable). - Restart Android Studio and try changing the theme again.
- ๐ Update the plugin up to the latest version (sometimes bugs with the theme are fixed in new releases).
- โ๏ธ Configure the plugin: some (for example, Material Theme UI) have their own theme settings in
Settings โ Other Settings. - ๐๏ธ Delete pluginif it is not critical for your work.
If the problem has disappeared, the culprit has been found. You can:
Conflicts especially often arise with the plugin Material Theme UI. It allows you to select themes directly from its menu, but sometimes it "forgets" to return to the system settings. To reset its influence:
- Open
File โ Settings โ Other Settings โ Material Theme UI. - In the section
ThemeselectDefault. - Click
Applyand restart the IDE.
5. Linking the theme to the OS system settings
Starting from Android Studio 4.1, an option has appeared Sync with OSthat automatically adjusts the IDE theme to the system settings Windows 10/11, macOS or Linux s GNOME/KDE. If you have dark mode enabled at the OS level, Android Studio will ignore manual theme settings.
To disable this binding:
- Go to
File โ Settings โ Appearance & Behavior โ Appearance. - Uncheck
Sync with OS(orUse system appearanceon macOS). - Select Light manually and save the changes.
On Windows 10/11 also check if dark mode is enabled in the system settings:
- Open
Settings โ Personalization โ Colors. - In the section
Select default modeset Light.
โ ๏ธ Attention: On some assemblies Linux (for example, Ubuntu 22.04+) Android Studio may incorrectly detect the system theme due to a bug in GTK. In this case, only manually disabling synchronization in the settings will help IDE.
6. Alternative methods: launching with a key and modified builds
If none of the above methods helped, you can try running Android Studio with forced specification of the theme via the command line. This method is suitable for experienced ones. users.
For Windows:
- Open
Command Line(Win + R โ cmd). - Go to the folder with Android Studio:
cd "C:\app Files\Android\Android Studio\bin" - Run the IDE with the theme parameter:
studio64.exe -Didea.theme.name=Light
For macOS/Linux:
- Open
Terminal. - Run the command:
open -a /Applications/Android\ Studio.app --args -Didea.theme.name=Lightor (for Linux):
/opt/android-studio/bin/studio.sh -Didea.theme.name=Light
If this did not work, the last option remains - use modified assemblies Android Studio with a pre-installed light theme. For example, Android Studio Preview (release candidate) or assemblies from the community (for example, Android Studio with IntelliJ ThemeYou can download them from the official website Google or repositories like JetBrains Toolbox.
Running via the command line with a parameter -Didea.theme.name=Light is the only way to get around bugs in some versions Android Studio 2023+where the settings are ignored.
Comparison of methods for changing the theme
| Method | Difficulty | Time | Result guarantee | Suitable for versions |
|---|---|---|---|---|
Change in Settings |
โญ | 1 minute | 95% | All versions |
Editing idea.properties |
โญโญ | 5 minutes | 80% | Up to 4.2 |
| Reset settings | โญโญโญ | 10 minutes | 100% | All versions |
| Disabling plugins | โญโญ | 3 minutes | 90% | All versions |
Start with key -Didea.theme.name |
โญโญโญ | 2 minutes | 70% | 2022+ |
As can be seen from the table, resetting settings is the most reliable, but also the most time-consuming method for most users. It's enough to change the theme through the menu or disable conflicting plugins.
FAQ: Frequently asked questions about changing the theme in Android Studio
I change the theme to light, but after restarting it becomes dark again. What to do?
Most likely, you have enabled synchronization with the system theme (Sync with OS). Disable it in Settings โ Appearance and repeat changing the theme. Also check plugins like Material Theme UI โthey can override the settings.
In my version of Android Studio there is no Light option, only Darcula and High contrast. What to do?
This is a bug in older versions (before 3.5). Update Android Studio to the latest version via Help โ Check for Updates. If updating is not possible, download the latest build from the official website.
Is it possible to make a light theme only for the code editor, leaving the interface dark?
Yes, for this:
- Go to
Settings โ Editor โ Color Scheme. - Select a light scheme (for example,
DefaultorSolarized Light). - Leave
AppearanceleaveDarculafor the interface.
Such a mix is possible, but it doesnโt always look like harmonious.
After updating Android Studio, the theme was reset to dark. How can I return it to light?
Updates sometimes reset the settings. Try:
- Manually select Light in
Settings โ Appearance. - If that doesnโt help - delete the file
options.xmlin the settings folder (paths are indicated in the reset section). - As a last resort, perform a full reset.
Is there a way to automatically switch the theme depending on the time of day?
Yes, there is for that plugins:
- Theme Switcher โswitches the theme on a schedule.
- Night Owl โautomatically turns on the dark theme in the evening.
Install them via Settings โ Plugins โ Marketplace and configure triggers.