Android platform for Android missing adb.exe

Today I clicked some update when starting Android Stodio. I forgot what it is. Then I run the code when the error "8:34 PM IllegalArgumentException: Could not find adb"

Then I google for several hours and still cannot solve my problem. And I found that in my tool platform there is no "adb.exe".

Can anyone help?

my os is window 10. I tried to uninstall Android Studio and install it back. It does not help.

Edit 1: After I installed the platform tools again, I will return to adb.exe. But I started my program again, this is “ADB initialization”, my adb.exe file lost again.

+16
source share
9 answers

The problem is resolved. I have a problem: I updated the platform SDK tools to 25.0.6. But My SDK Build-Tools is 25.0.3. (25.0.6 not yet provided) I assume that the version does not match the one that causes this problem.

I lower my SDK platforms to 25.0.3 and it works as usual.

0
source

I am writing a solution that worked for me:

  • go to the Platform SDK tools ;
  • Download SDK Platform-Tools for Windows;
  • unzip the zip file and copy it to \ AppData \ Local \ Android \ sdk \ platform-tools .
+24
source

. , Avast adb.exe. SDK .

+13

( AS 2.x AS 3.x Canary 3.1 ):

/ Android Studio, updater/patcher . adb, , , fastboot aapt... .

, sdk/platform-tools, AS .

AS File- > Invalidate cache/restart.

Java, , JAVA_HOME AS JDK ( ).

+5

, , ( , , Google) "adb.exe". ( , , Windows-10 Android Studio 3.1.2.)

, ( ): Android Studio SDK "platform-tools/systrace/NOTICE"

(?) ... "Dx Arout" :

(1) C:\Users\AppData\Local\Android\Sdk

/ , Android Studio ... :

(2) Android Studio. Gradle . . .

, . , proj. , " * ss", Tools → SDK Manager, (" SDK") "Android SDK Build". -Tools 28-rc2 '( ). , , " " ( ). . , , , ... , 'adb' DID , , . ( "logcat" , , , , , !

...

+4

sdk, , C:\Users\User\AppData\Local\Android\Sdk

platform-tools platform-tools.backup. platfrm-tools.backup, adb.exe plaform-tools, -. .

+2

.

avast adb.exe , . , adb.exe avast.

+2

. u , "adb.exe" . sdk/platform.

, Quick Heal, .

adb.exe - ,

**

2:

** SDK FOLDER , .

**

  • 3: 1.

    2. SDK

    3. adb.exe

    4. USERGROUP

4

sdk appdata/local, .

0
source

adb.exe will not appear if antivirus is installed, and we need to add it to the white list. Antivirus blocks this because, because it finds the .exe file, it blocks it.

0
source

Source: https://habr.com/ru/post/1677413/


All Articles