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
    Perhaps the antivirus software is blocking adb.exe, try disabling your antivirus software and try again? – xavier_fakerat Apr 28 at 18:53
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

-2

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

  • 1
    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 at 11:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.