Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
825 views
in Technique[技术] by (71.8m points)

android - Unable to run adb.exe from platform-tools folder path

Setup

  • android studio version 3.3.2
  • JRE:1.8.0-152-release-1248-b01-amd64
  • build tool version is 28.0.2

I am unable to start adb.exe file from platform-tools in sdk folder . Error popping in taskbar of android studio is "unable to detect adb version,adb output". When i run adb.exe application from SDK folder error is---->The Application was unable to start correctly(0xc000007b).---------

I had reinstall android studio many times. also deleted the platform-tools folder and re-downloaded Android sdk platform-tools. sdk platform tool enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I found a solution after spending the 3 day. Replace your current adb with another working adb. Click here to download adb.

Steps:->

1> First download adb file for the above link .

2> To add adb file in platform-tools inside Sdk folder in android studio.

3> Open Android Studio and go to Tools and inside Tools there is a SDK Manager.
click on SDK Manager as shown below:--

4> Copy the Android SDK Location address (path is as like as C:UsersAPPPPPPPPPPPPPPPAppDataLocalAndroidSdk ) shown below

5> Search the copy address in the search bar of Windows OS,then a Platform-Tools folder is show under Sdk folder.

6> Open the Platform-Tools delete the existing adb.exe file and add the downloaded adb.exe file is pasted in the Platform-tools folder.

After placing the adb.exe file.Open Android Studio and create a new project of use existing project and click on Run in the menu bar or Run button and you see that in Event Log the error of unable to detect adb version,adb output is removed and you successfully run the project either by using AVD emulator OR Real devices like android smartphones.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...