How to install Android Studio in Ubuntu

If you’ve switched to Ubuntu from Mac OS or Windows to do Android development, you’ll need to know how to install Android Studio. In this guide, we’ll show you how to do just that. Follow along as we go over how to install Android Studio on Ubuntu.

install Android Studio in Ubuntu

How to install Android Studio in Ubuntu – Manually install via download from the website

Google distributes a downloadable version of Android Studio that is Linux distribution agnostic. This version is ideal for Ubuntu users.

To start the installation of Android Studio via the download version, open up a terminal window. You must install the required 32-bit libraries. These libraries enable Ubuntu 64-bit Android Studio to function correctly.

sudo apt install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386

These libraries won’t take too long to install. Once they’re done, you’ll need to download the Android Studio package to your Linux PC. Head over to the “Download” section on the Android developer website.

On the “Download” page, there are several options to choose from. Select the “DOWNLOAD ANDROID STUDIO” button on the page. After selecting the download button, your browser will download “android-studio-ide-201.7042882-linux.tar.gz” to your “Download” folder.

The “android-studio-ide-201.7042882-linux.tar.gz” file will take a bit of time to download, as it is roughly 800 megabytes. When the download is complete, return to the terminal window opened earlier. Then, use the CD command to move into the “Downloads” folder.

cd ~/Downloads

Once inside the “Downloads” folder, use the tar command to extract the Android Studio Linux archive contents downloaded from the Android developer website.

tar xvf android-studio-ide-*-linux.tar.gz

After running the above tar command, everything will be fully extracted inside a new “android-studio” folder inside the “Downloads” directory on your Ubuntu PC. You must now start up the Android Studio installer.

To start up the Android Studio installer, use the CD command and move into the “bin” folder inside of the “android-studio” folder.

cd bin

Inside the “bin” folder, execute the “” shell script. This shell script will open up a GUI installer that you will need to use to install the Android Studio software on your Ubuntu Linux PC. 


Upon running the “” shell script, a “Data Sharing” window will appear. In this window, the Android Studio installer will ask if you want to allow Google to collect Android Studio usage data on your PC. Select either “Send usage statistics to Google” or “Don’t send” if you value your privacy.

After selecting your data sharing option, the Android Studio Setup Wizard will present a welcome message. The welcome message says, roughly, “Welcome! This wizard will set up your development environment for Android Studio.” Click on the “Next” button to continue.

Past the welcome message, the installer will ask what type of Android Studio setup you prefer. Select the “Standard” option, and click the “Next” button to continue.

Following choosing the type of installation for Android Studio, you will be required to select a theme. Select from either “Darcula” or “Light,” then press the “Next” button to continue.

When you’ve chosen the theme, you’ll see an overview of what Android Studio is going to install. Read through the summary. Then, press the “Next” button to begin the installation process.

How to install Android Studio in Ubuntu – Flatpak installation 

If the standalone downloader doesn’t suit you on Ubuntu, another way to get the Android Studio working on Ubuntu is via Flatpak. The Flatpak installation method is excellent, especially if you’re the kind of person that doesn’t like to tinker with the Android Studio installer.

To start, open up a terminal window and configure the Flatpak runtime. It is required to install Flatpak packages. Unsure about how to configure the Flatpak runtime? We can help! Follow along with our in-depth guide here.

After you’ve set up the Flatpak runtime, the next step in the installation process is to set up the Flathub app store. This app store has the Android Studio package. To get it working, enter the flatpak remote-add command below.

flatpak remote-add --if-not-exists flathub

Once Flathub is set up, you’ll be able to install the latest Android Studio on your Ubuntu PC using the flatpak install command.

flatpak install flathub

How to install Android Studio in Ubuntu – Snap package installation

Aside from being available on Flathub, Android Studio is also available for installation via the Ubuntu Snap Store. So, if you want an easy way to get Android Studio but don’t like Flatpak, this is the way to go.

To start the installation, open up a terminal window. Once the terminal window is open, you can install the Android Studio app with snap install.

sudo snap install android-studio --classic

The post How to install Android Studio in Ubuntu appeared first on AddictiveTips.

How to send Disappearing Messages in WhatsApp

Whatsapp is quite a feature-rich messaging app. It offers end-to-end encryption which few mainstream messaging apps do, and it allows users to forward messages, make audio and video calls, send files, and send voice messages, among other many impressive things.

Whatsapp even has business accounts and because it is so popular all over the world, you will find many companies integrate a Whatsapp business account into their on-site customer support.

Disappearing Messages in WhatsApp

If you use Whatsapp a lot, chances are you have quite a few active threads with hundreds, if not thousands of messages. The messages and media sent over a single conversation thread or over all threads can be cleared easily enough but it has to be done manually.

If you’re not interested in hanging on to messages in a particular thread, you can enable disappearing messages to delete them automatically.

Enable disappearing messages in Whatsapp

Disappearing messages is a somewhat new feature. It is available on both iOS and Android. Make sure you’re running the latest version of the app.

  1. Open Whatsapp on your phone.
  2. Select the conversation thread that you want to enable disappearing messages for.
  3. Tap the contact’s name at the top.
  4. Select Disappearing messages.
  5. Select the ‘On’ option.
  6. Disappearing messages will be enabled.


  • Disappearing messages cannot be enabled for a group chat. It is exclusive to one-on-one conversation threads.
  • When you enable disappearing messages for a conversation, the other person is informed that it has been enabled. They know the messages sent over the thread will be gone.
  • The messages disappear after 7 days. Disappearing messages are NOT the same as archived messages. Once a message disappears, you won’t be able to get it back
  • 7 days is plenty of time for anyone to take a screenshot of a message so while a message may be gone, proof that it was sent may still exist. 
  • A message sent over a thread with disappearing messages enabled can be forwarded. The original message will disappear but the forwarded message will not.
  • Any media that has been saved from a message cannot be purged from the device. As long as media hasn’t been saved, it will be removed but Whatsapp cannot delete a video, audio, file, or image that has been saved to a phone’s storage.
  • Messages sent before disappearing messages is enabled will not be removed. The feature works only on messages that have been sent after it has been enabled.


Disappearing messages in Whatsapp are a good way to keep the app from bloating with messages. If you’re not in the habit of cleaning the app regularly, this is a good way to automate it. Of course, you will have to enable the feature for chats one-by-one. It’s a shame that it doesn’t work for group chats since that’s where files and messages tend to build up the most.

The post How to send Disappearing Messages in WhatsApp appeared first on AddictiveTips.

How to set custom wallpapers for chat in Whatsapp

Whatsapp is an exceptionally popular messaging app. In some countries, it is the go-to messaging app for a large chunk of the population and many carriers offer specialized data plans that cater to its use.

Whatsapp normally is used for both work and for personal messaging and calls. Unfortunately, you cannot run more than one Whatsapp account on a phone since it is linked to a phone number. Having a dual SIM phone doesn’t help the situation since the feature to add two accounts isn’t there in the app.

To keep work and personal messaging threads separate, you can use wallpapers as visual indicators that will give away what sort of chat thread you’ve selected if you happen to miss the name.

Custom wallpapers for Whatsapp chat 

Whatsapp has always allowed users to change the chat background i.e. chat wallpaper but the change applies uniformly i.e., everyone used to get the same wallpaper. Not anymore though. 

Whatsapp now allows users to set a custom wallpaper for each chat thread. This feature has rolled out to all users via the last app update and it is available on both iOS and Android versions.

Change Whatsapp chat wallpaper

To change the chat wallpaper for a particular chat thread on Whatsapp, follow these steps.

  1. Open Whatsapp.
  2. Select the chat thread you want to change the wallpaper for.
  3. Tap the contact or group name at the top to go to the chat thread’s settings.
  4. Tap Wallpaper & Sound.
  5. Tap Choose a New Wallpaper.
  6. Select an image from your device’s storage.
  7. Use the slider below the preview to make it brighter or darker.
  8. The wallpaper will be set. 

Change default wallpaper for chat

If you’d like to change the default wallpaper for all chats on Whatsapp, you can still do that. You do not have to change the wallpaper one chat thread at a time.

  1. Open Whatsapp.
  2. Go to the Settings tab.
  3. Tap Chats.
  4. Tap Chat Wallpaper>Choose dark/light mode Wallpaper.
  5. Select a wallpaper and it will be applied to all chats except the ones that have a custom wallpaper set.


Whatsapp allows users to set a different wallpaper for the dark and the light theme. You will have to change the theme on your device and then access the default wallpaper settings to set a wallpaper for that theme. If your device is running an OS version that doesn’t have light and dark themes, Whatsapp will appear only in the light/default theme and there is only one default wallpaper for you to set.

The post How to set custom wallpapers for chat in Whatsapp appeared first on AddictiveTips.

How to fix Google Chat Features status stuck at Setting Up

Google’s Messages app has improved exponentially in features. In fact, it’s well on its way to competing with Apple’s iMessage. 

The Messages app has specials ‘Chat’ features which, when enabled, add additional features to it such as a typing indicator and read receipts. These features have to be enabled and they work with your phone number.

Enable Chat Features in Messages on Android

To enable Chat features in Messages on Android, you have to do the following.

  1. Make sure a SIM is inserted into the phone and the SIM is active.
  2. Make sure the Messages app is up to date.
  3. Open the Messages app.
  4. Tap the three dots button at the top and select Settings.
  5. Tap Chat features.
  6. Tap Enable.
  7. Tap Verify your number.

Chat features status: Setting up

Chat features take some time to enable and during that time, you will see the Status set as Setting up. Many users think the set up should be immediate, and while it should not take more than a few hours, it often ends up taking several hours or even a few days.

Before you try to fix the problem, check if you actually need to fix it by following these steps.

  1. Enable Chat features in Messages (see previous section).
  2. Tap Verify your number.
  3. Return to the Messages app.
  4. Look for a message from Google with a verification code.

If you’ve received the code, you only have to wait and the status will change from Setting up to Connected. Keep your phone on during this time. Wait at least 24 hours for the features to activate.

Fix Chat features status: Setting up

If you never received a message from Google, you have good reason to suspect that there is a problem enabling Chat features on your device. To fix it, try the following.

1. Restart the phone

Restarting the phone will often trigger the Chat features to start working. The status won’t change immediately but you should get those messages from Google.

  1. Turn your Android phone off.
  2. Turn it back on.
  3. Enable Chat features again.
  4. Check to see if you’ve received the verification code.

2. Check call and message preference for SIM

This fix generally applies to Android devices with a dual SIM slot but there is no harm in checking these settings on your phone even if it only has a single SIM slot.

  1. Open the Settings app.
  2. Go to Network & internet.
  3. Tap SIM cards.
  4. Make sure your SIM is enabled for Calls and Messages.

3. Change default messaging app

Changing the default messaging app can help trigger the Chat features to being the set up process. For this, we recommend installing Facebook’s Messenger app. You won’t have to use it.

  1. Open the Settings app.
  2. Go to Apps & notifications.
  3. Select Default apps.
  4. Tap SMS app.
  5. Select Facebook Messenger.
  6. Restart the phone.
  7. Repeat steps 1-4.
  8. Select the stock Messages app.
  9. Activate Chat features.

4. Clear Carrier Services storage

Sometimes the reason Chat features are stuck at Setting up has to do with carrier services which are needed to verify your phone number.

  1. Open the Settings app.
  2. Go to Apps & notifications.
  3. Tap See all apps.
  4. Select Carrier Services (you might see two of them. Follow the next steps for both).
  5. Tap Storage & cache.
  6. Tap Clear Storage.
  7. Restart the phone.
  8. Enable Chat features.


Chat features do take some time to set up. They’ve been around for a while now but Google hasn’t managed to make the service more robust. It takes enough time for the service to activate that users suspect there’s something wrong. The tell-tale sign if the activation is actually in progress is really the Google verification code. Once you’ve received it, you’re on your way to enabling the features.

The post How to fix Google Chat Features status stuck at Setting Up appeared first on AddictiveTips.

How to enable the Android power button bug report

Developing for a mobile platform, whether it’s a website or an app, requires accessing a device’s log. The log offers information about the web and API calls that are being sent and received, and it also offers information about the device and how it is interacting with an app or website.

For Android, a device log is normally obtained by connecting the device to a desktop system. The process isn’t complicated but it ties you to a desktop system which is inconvenient.

Device log on Android phones

A device log doesn’t necessarily have to be generated from a desktop system. An Android phone is able to generate a complete device log all on its own.

Starting from Android 10, and onwards, there is a built-in option to generate a bug report which includes a complete device log. This option has to be enabled before it can be used.

1. Enable developer options

The Android power button bug report option is enabled from Developer options which have to be enabled themselves.

  1. Open the Settings app on your Android device.
  2. Go to System.
  3. Look for the build number here. Its location may differ based on your device.
  4. Tap the build number seven times. You will see a notification telling you that Developer options have been enabled.

2. Enable USB debugging

Once you’ve enabled Developer Options, you must now enable USB debugging. 

  1. Open the Settings app on your Android device.
  2. Go to System>Developer options. Developer options may be under a different setting depending on your device.
  3. Look for the USB Debugging switch and turn it on.

3. Enable Power button bug report

Once you’ve enabled USB debugging, you can enable the power button bug report option.

  1. Open the Settings app on your Android device.
  2. Go to System>Developer options.
  3. Turn on the ‘Bug report shortcut’ switch.

4. Capture bug report

Now that the bug report shortcu has been enabled, you can use it to capture a bug report.

  1. Open the app or website that you want to generate a bug report for.
  2. Press and hold the power button on your Android device.
  3. The power button menu will show Bug Report button. Tap it.
  4. You will see a ‘Bug report is being generated’ notification.
  5. Use the app/navigate the website until you encounter a bug.
  6. Open the Notifications dropdown, and check if the progress bar under the bug report notification is complete.
  7. Once the progress bar is complete, tap it, and select how you want to share the bug report.

5. Access bug report on device

If you want to access a bug report on your device, you can do so from the Settings app.

  1. Open the Settings app on your Android device.
  2. Go to Storage>Files.
  3. Tap the hamburger icon at the top left.
  4. From the navigation drawer, select Bug Reports.
  5. Go through the various bug reports, and tap the one you want to view.

6. Customize bug report

An Android device can generate two types of bug reports; an interactive bug report which is a more concise report, and a Full report which includes everything. You can choose between the two which type you want to generate.

  1. Open the Settings app on your Android device.
  2. Go to Developer Options.
  3. Tap Bug Report.
  4. From the pop-up, select the type of bug report you want to generate.
  5. The setting will apply to all future bug reports that you capture.

What’s in a bug report?

A bug report generated on an Android device may simply be a text file, or it may be zipped folder that contains multiple files.

Normally, a bug report will contain;

  • A bug report file.
  • A dump log file.
  • A folder with logs of which sensors on the device were used, and other hardware related logs.
  • A folder called FS which contains information about the file system.

Android bug report vs Device log

The Android bug report will contain the same information you obtain when you generate a device log via ADB tools. The only difference is, with ADB tools, you have to issue a command for the type of information you want to capture. The bug report generated on Android automatically captures all this information.

Bug reports can be exceptionally small in size e.g. single digit MB files, or they can be much larger. It depends on how much information was captured. 

The post How to enable the Android power button bug report appeared first on AddictiveTips.