Where Is Adb Exe In Android Studio?

Many users motivated to work with Android debugging often download Android studio and install SDK. So far, it is easy and straightforward; however, confusion hits when they cannot locate where the ADB file is.

 

If you are one of those who instinctively search ‘where is ADB Exe in Android Studio,’ then you have stumbled upon the right place. Today, not only we will teach you where you can find the ADB exe, but we will also let you know how to install it.

 

So, if you are interested in working with operating and simulating android devices through your computer, this article is your goldmine. Instead of spending time here and there, let’s get started with the article!

 

Locating ADB Exe Using Android Studio

 

This is a more common issue than you may think. There are several reasons why one may not find ADB exe when they are looking for it. Maybe the file got deleted, or maybe they do not know where to look.

 

So, today we will teach you a step-by-step guide on looking for ADB exe using Android Studio. To start off

 

Before we do anything, we need to check if the ADB file is present in your computer’s SDK Folder or not. To do so, open C:\Users\Username\AppData\Local\Android\Sdk\platform-tools and look for adb.exe

 

If it is not present, then we can follow a simple trick called installing “Platform-tools.” It will solve all the missing file issues you are having. In order to install it,

 

Step-1:

 

Open “Android Studio”

 

Step-2:

 

Proceed by clicking on the “SDK Manager” from the toolbar. If you cannot locate it on the toolbar, you can try clicking on “tools” then “SDK Manager.”

 

Step-3:

 

Now search and look for ‘SDK Tools’

 

Step-4:

 

Once clicked, there should be a checkbox in front of you saying ‘Android SDK Platform tools’ click tick there.

 

 

 

where is adb exe in android studio

 

 

 

Following these steps should help you to locate the ADB exe file and bring it back if it’s not there using Android Studio.

 

Locating ADB Exe In Windows 10

 

Well, if you have already set up Android studio and installed SDK, the file ADB has to be on your computer somewhere. Here are some folders worth checking to locate ADB exe.

 

Follow these folders according, but remember to replace the username when required.

 

  • The first folder we are going to check is a common place where ADB exe is.

 

C:\Users\username\AppData\Local\Android\sdk\platform-tools. Look thoroughly in this folder; ADB exe should be in it somewhere.

 

  • If you want a shorter way to do the previous step, open File Explorer and enter these exact characters. %LOCALAPPDATA%\Android\sdk\platform-tools

 

  • If you are one of the visual studio users, then it is recommended to follow this location, as searching the previous one won’t take you anywhere. C:\Program Files (x86)\Android\android-sdk\platform-tools

 

  • Moreover, if you are an Android Studio with Xamarin user, try following this location for the best results. C:\Program Files (x86)\Android\android-sdk\platform-tools

 

These are the possible folders where you may find ADB exe saved on your computer. Remember to look properly in each folder, not missing out on anything.

 

Restoring ADB Exe From Third-Party Anti Virus

 

One prime reason for people not being able to locate ADB exe is because their anti-virus software removed the file, thinking it was some sort of malware. Usually, your anti-virus software will notify you when it removes the file.

 

Nevertheless, even if it does not follow these steps, learn how to restore ADB exe from your anti-virus software.

 

For this method, we will be using avast anti-virus as an example, but the steps are more or less the same for every third-party anti-virus.

 

Step-1:

 

Right-click on your home screen to open the taskbar. There you will be able to see an option called ‘Virus Sheild.’ Remember, different software uses different names.

 

 

 

where is adb exe in android studio

 

 

Step-2:

 

Now, open the virus chest and see if ADB exe is present or not. Luckily if the file is in there, right-click on the file. 

 

 

 

where is adb exe in android studio

 

 

 

Step-3:

 

Few options will appear in front of you in a dropdown menu. The first option there should be ‘Restore.’

 

Step-4:

 

Following this, you can press restore to bring back ADB exe into your computer. Moreover, you can also use ‘Restore and Add Exception’ to ensure your anti-virus software never removes this file.

 

Remember, no matter which anti-virus you use, the process is the same. Open the software, then to go protection or security, etc. There you will find an option similar to the virus chest. It may be called quarantined files or harmful files. From there, you can proceed with restoring it.

 

Restoring ADB Exe Using SDKManager Command-line Tool

 

In order to start off, firstly, we will check if you have the file on your computer or not. If you do not have it, then to continue, you have to download platform tools. To do so, open

 

C:\Users\Prasoon\AppData\Local\Android\Sdk\tools\bin\sdkmanager.

 

Now type exactly what we wrote SDK manager “platform-tools.”

 

This will install the platform tools, thus restoring your ADB exe file.

 

Now, if you do have ADB exe in your computer but for some reason, it is not working, uninstall the platform tools. In order to do so, open C:\Users\Username\AppData\Local\Android\Sdk

 

There you will see the platform-tools folder. Delete it and re-install it using the steps we taught you.

 

How To Run ADB Exe: 6 Effective Steps

 

By now, if you have found out where your ADB exe has been, you may also want to know how to run it. We know ADB, also known as Android Debug Bridge, is a command-line utility tool. Used to debug Android. To run this tool, follow these steps

 

Step-1:

 

Boot up your Android Studio and look for ‘Tools’ in the menu.

 

Step-2:

 

Click on the tool, and a list of options will appear; from there, click on ‘SDK Manager.’

 

 

 


where is adb exe in android studio

 

 

 

Step-3:

 

A new window should have been opened by one. At the top of the window, you will be able to see the installation path of ‘Android SDK.’

 

 

 

where is adb exe in android studio

 

 

Step-4:

 

Now, start up your terminal and enter ‘cd’    and enter the path we showed above. You have to press shift+insert to paste in terminal. This step only works on Windows, macOS, and Linux.

 

 

 


where is adb exe in android studio

 

 

 

Step-5:

 

Once you have completed the last step, Now type in ‘cd platform-tools.’

 

 

 


where is adb exe in android studio

 

 

 

Step-6:

 

Now, to continue, enter ‘ls’ or ‘dir on Windows.’ Once you do that, you will be able to see ADB on your operating system. Now onwards, you can enter ‘./adb’ and run the program.

 

Adding ADB Exe To My Windows Path

 

If you want to add ADB exe to your windows path, you have to follow these steps

 

  • Firstly open the Start Menu.

 

  • There you should look for ‘Advanced System Setting.’

 

  • Once you locate it, click on view advanced system setting.

 

  • There should be an option called ‘Environment Variables.’

 

  • Below that option, you will see ‘System Variables’

 

  • Locate the variable called ‘Path.’

 

  • Press Edit.

 

By doing so, you will change ADB location to your windows path. Pretty easy, eh?

 

 

Frequently Asked Questions (F.A.Q’s) :

 

1. Does ADB Exe Work Without USB Debugging?

 

ADB usually requires permission from an android device to operate or communicate with it. For instance, when the device is in Android Recovery Mode, you can use Apply Update using ADB with or without USB debugging.

 

2. Is ADB Installed With Android Studio?

 

We know ADB means ‘Android Debug Bridge,’ a debug multitool for Android. Usually, whenever you download Android Studio and install SDK platform tools, ADB exe will automatically install on your computer.

 

3. How Do I Use ADB Platform tools?

 

Turn on your android device and connect it to your computer using a USB Cable. Then to continue on your computer, run  ‘Command Prompt.’ Then either locate your platform-tools folder or, if you already know it, then proceed to change the directory to the platform tools folder.

 

Now type in ADB devices and click enter. You should be able to start using ADB platform-tools now.

 

4. How to Update ADB Exe?

 

Run your SDK manager in Android Studio ( click shift twice and type in SDK manager). Then you will be able to see on the second tab called SDK tools there will be an option called update Android SDK Build-Tools.

 

Sometimes an error may pop up. Fear not; it is an old bug in the system. It just means your SDK platform-tools are in the latest version.

 

5. How to Change My ADB Exe Path?

 

Add the ADB file to /etc/paths.d/ folder which contains the path to ADB exe’s location : /Users/YourUserName/Library/Android/sdk/platform-tools/. Then to proceed put the following in a Terminal windows sudo vim /etc/paths.d/adb.

 

Now press the enter to save. To see if it changed, reboot Terminal.

 

 

You may also be interested to know:

 

how to check screen time on android

what is the best android straight talk phone

 

 

Conclusion

 

As we are at the end of our article, we hope we were able to give an answer to where is adb exe in android studio. It is a common question Android developers have spent hours looking for an answer to. But now, here you have it!

 

Remember these steps should be followed precisely, and do not delete and re-install SDK tools repeatedly; it may corrupt the files. Just make sure you follow every step we mentioned, and you will be able to locate your ADB exe in the best way possible.

Leave a Reply

Your email address will not be published.