The adb.exe application cannot be started normally, prompting 0xc000007b error

After installing the Android SDK, enter the command adb in cmd, prompting that the application cannot be started normally (0xc000007b), enter the SDK installation directory C:\Users\Administrator\AppData\Local\Android\Sdk\platform-tools under the command line, and run adb .exe, prompting 0xc000007b error, the final troubleshooting is because of the lack of Microsoft Visual C++ Redistributable, and then downloaded various versions of Microsoft Visual C++, and finally upgraded to 2019, the problem is solved! ! !

All versions of Microsoft Visual C++ runtime library download

Microsoft Visual C++ 2005
Microsoft Visual C++ 2005 Redistributable Package (x86)
http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.exe
Microsoft Visual C++ 2005 Redistributable Package (x64)
http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.exe

Microsoft Visual C++ 2008
Microsoft Visual C++ 2008 Redistributable Package (x86)
https://www.microsoft.com/zh-cn/download/details.aspx?id=29
Microsoft Visual C++ 2008 Redistributable Package (x64)
https://www.microsoft.com/zh-cn/download/details.aspx?id=15336

Microsoft Visual C++ 2010
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
https://www.microsoft.com/zh-cn/download/details.aspx?id=8328
Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)
https://www.microsoft.com/zh-cn/download/details.aspx?id=13523

Microsoft Visual C++2012
Visual C++ Redistributable for Visual Studio 2012 Update 4
https://www.microsoft.com/zh-cn/download/details.aspx?id=30679

Microsoft Visual C++2013
Visual C++ Redistributable Packages for Visual Studio 2013
https://www.microsoft.com/zh-cn/download/details.aspx?id=40784

Microsoft Visual C++ 2015
Microsoft Visual C++ 2015 Redistributable Update 3
https://www.microsoft.com/zh-cn/download/details.aspx?id=53587
Visual C++ Redistributable for Visual Studio 2015
https://www.microsoft.com/zh-cn/download/details.aspx?id=48145

Microsoft Visual C++ 2017
X64
https://go.microsoft.com/fwlink/?LinkId=746572
x86
https://go.microsoft.com/fwlink/?LinkId=746571

https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

# Introduction
msvcp, msvcr60,71 and 80.dll, and vcomp.dll (without digital version number) belonging to VC ++ 2005 version
msvcp, msvcr, vcomp90.dll belonging to VC ++ 2008 version
msvcp, msvcr, vcomp100.dll belong VC++2010 version 
msvcp, msvcr, vcomp110.dll belong to VC++2012 version  
msvcp, msvcr, vcomp120.dll belong to VC++2013 version  
msvcp, msvcr, vcomp140.dll belong to VC++2015 version

I installed 2005, 2008, 2010, 2015, and found that it still doesn't work.
Later I upgraded Microsoft Visual C++ Redistributable for Visual Studio 2019, and then run adb in cmd.

Post-mortem analysis: The AS program is used for upgrading, and the windows dll used for the development software itself is also being upgraded. In the control panel, you can see a lot of installed versions.
Software installation address:
https://visualstudio.microsoft.com/zh -hans/downloads/?rr=https%3A%2F%2Fsocial.msdn.microsoft.com%2FForums%2Fvstudio%2Fen-US%2Fe653a57a-bc32-4134-87bf-df33058f0531%2Fdownload-microsoft-visual-c-2017- redistributable%3Fforum%3Dvssetup

After entering the web page, drag to the bottom, click on other tools and frames, and there will be

The download address of Microsoft Visual C++ Redistributable for Visual Studio 2019.

Because I am a 64-bit system, I chose to download X64 later, the software is not big, just download and install it.
Insert picture description here

In the cmd command line, directly enter adb and press Enter and run the adb command to see that the problem is solved! ! !
Reference: https://blog.csdn.net/weixin_42831477/article/details/81429004
Reference: https://blog.csdn.net/lsw8569013/article/details/104521494?utm_medium=distribute.pc_relevant.none-task-blog -searchFromBaidu-1.not_use_machine_learn_pai&depth_1-utm_source=distribute.pc_relevant.none-task-blog-searchFromBaidu-1.not_use_machine_learn_pai

Guess you like

Origin blog.csdn.net/zhaoweiya/article/details/111479848