0

I want to learn flutter, so, I installed Android SDK from Android Studio but when I tried to connect my device a "adb.exe has stopped working" window showed, then I tried using 'adb devices' command but the same happened and the window just keeps appearing over and over until I kill the adb.exe process.

I also tried the following:

  • Run adb kill-server and adb start-server (Same window appears).
  • Reinstall the complete sdk including the platform tools.
  • Run adb as administrator.

But so far, the window keeps showing and I'm running out of ideas.

I would really appreciate your help.

1
  • 1
    Perhaps the antivirus software is blocking adb.exe, try disabling your antivirus software and try again? Apr 28, 2019 at 18:53

2 Answers 2

0

adb.exe needs this runtime to work. try installing it first and running adb.exe: https://support.microsoft.com/en-ca/help/2999226/update-for-universal-c-runtime-in-windows

-3

Download fresh adb files. Filenames in the zip files will be:

adb.exe 
AdbWinApi.dll 
AdbWinUsbApi.dll 
fastboot.exe 

Go to C:\Users\YOUR_USER_NAME\AppData\Local\Android\Sdk\platform-tools and paste these four files (replace the old one). It will work fine. Download the latest adb from here

2
  • 3
    Replacing an existing version with one downloaded by a third party site is very very bad style. You never know what you get. And even if at the moment the download contains only what you want (free of virus, trojans, ...) this does not mean that this is also true in one, two or six years. Therefore I have two problems with your answer: 1. You don't explain why you should download this adb version. 2. The link does point to an untrusted third party server. If you want ADB you should download it from a Google server using the Android SDK package!
    – Robert
    Sep 11, 2019 at 11:22
  • Looks like the zip provided by the site was last updated in 2016. If any, as of writing (Feb 2022), the site also provides direct download links to the official site. Might be better to download from there instead.
    – Andrew T.
    Feb 19 at 13:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .