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
I found a solution after spending the 3 day. Replace your current adb with another working adb. Click here to download adb.
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:\Users\APPPPPPPPPPPPPPP\AppData\Local\Android\Sdk ) 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.
I resolved this error with next step:
That error code refers to an invalid image format. However, what the error code usually means is that you are trying to run a program that is intended to work with a 64 bit Windows operating system, but that you only have a 32 bit OS.
Try restarting your computer and see if it works. If it doesn't work, try to uninstall and reinstall the program by going into Control Panel>Classic View>add/remove programs or program and features.
try this solution,
1) close Android Studio.
1) Delete the folder name platform-tools from Sdkfolder(find path from SDK Manager) folder.
2) Open Android Studio, in SDK Manager -> SDK Tools. checked the checkBox of Android Sdk Plateform-Tools and Apply.
3) now, Restart Android studio and try again.
For me, the issue was the installation of visual studio C++ redistributable. I tried to install it but was getting a setup failed error. Apparently, i had to go to windows update and allow all the important updates (the ones listed as important).
After restarting, i was able to install C++ redistributable. After it was installed, adb.exe worked correctly.
I resolved this issue in a heartbeat by downloading the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019.
Specifically the file
x64: vc_redist.x64.exe from this link:
I ran into this issue when I reformatted my Windows PC and the redistributables that came with the new installation were versions 2008, 2005, and 2010.
This is showing error because Android ADB had an update for the revision 28.0.2 (March 2019), after this release ADB needs windows to have this update (KB2999226) for running. This will be occurring to systems that disabled automatic windows update. For me, it was on Windows 8.1 pro 64. I have spent my 2 days on this following different solutions on the internet that vary from DLL files to .net, visual c++, and DirectX, none of them helped. Please do this update as this is needed for the newer ADB to work properly.
User contributions licensed under CC BY-SA 3.0