Developer Notes

Blank screen instead of Setup Wizard for Android Studio in Ubuntu

After installing Android Studio in Ubuntu, you might experience getting stuck with a blank screen instead of the Android Studio Setup Wizard. You run Android Studio from your terminal, but you still see this blank screen even if there are no warnings or errors in the terminal.

Here’s a question: What window manager are you using?

Apparently, this is a common issue for Java applications when run in non-reparenting window managers like xmonad or dwm. See this OpenJDK bug report for more context.

Thankfully, the solution is simple:

export _JAVA_AWT_WM_NONREPARENTING=1
/opt/android-studio/bin/studio.sh

You can also add this to the end of your .bashrc and reload your window manager:

export _JAVA_AWT_WM_NONREPARENTING=1

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Articles

Want your website to turn up in Google Search results? You can submit your website for indexing in Google Search
Occasionally, we need to bring our website visitors to a maintenance page. Don't worry, you can spin up a Maintenance
When you are deploying changes to a WordPress website, you might encounter an error about PHP's upload_max_filesize. Here is one
It might surprise you how much storage space Snap packages use. You will most likely find that your Snap packages
The Loop Grid widget allows you to set the total number of items to load and display in the Loop
When creating a page, always remember this: DESKTOP ➤ TABLET ➤ MOBILE. Responsive attributes you set for Desktop will reflect

Recent Articles

Topics

Related Topics