You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

VS Emulator提示Adb.exe未找到,安装GApps及注册表问题求助

Fixing "VS Emulator: Adb.exe not found" When Installing GApps

Hey there, let's break down why you're hitting this adb error even though you have Android SDK Tools installed. Here are the most common issues and fixes to try:

1. You're checking the wrong registry path

The Wow6432Node registry folder is reserved for 32-bit applications. If you installed the 64-bit version of Android SDK Tools, its registry entry will live directly under HKEY_LOCAL_MACHINE\SOFTWARE instead of nested inside Wow6432Node. Head to that root SOFTWARE folder first to see if the Android SDK Tools key exists there.

If it’s still missing, the installer might have failed to write the registry entry (often due to permission restrictions). You can add it manually:

  • Open Registry Editor by typing regedit in the Start menu
  • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE (or HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node if you’re using a 32-bit SDK)
  • Right-click the parent folder, select New > Key, and name it Android SDK Tools
  • Inside this new key, right-click the right pane, select New > String Value, name it Path
  • Double-click the Path value, and set its data to the full path of your SDK’s platform-tools folder (e.g., C:\Users\YourUsername\AppData\Local\Android\Sdk\platform-tools)

2. Visual Studio Emulator isn’t pointing to your SDK

Sometimes the VS Emulator fails to auto-detect the SDK location. You can set it manually:

  • Open Visual Studio
  • Go to Tools > Options > Xamarin > Android Settings
  • Under Android SDK Location, browse to your root SDK installation folder (not just the platform-tools subfolder)
  • Click Apply, then restart the VS Emulator and try installing GApps again

3. ADB isn’t added to your system PATH

If the platform-tools folder isn’t in your system environment variables, the VS Emulator won’t be able to locate adb.exe globally. Fix this:

  • Right-click This PC > Properties > Advanced System Settings > Environment Variables
  • In the System Variables section, find Path and click Edit
  • Click New and paste the full path to your SDK’s platform-tools folder
  • Click OK on all windows, then restart your computer to apply the changes

4. Verify adb.exe actually exists in your SDK

Double-check that adb.exe is present in your SDK’s platform-tools folder. If it’s missing, open Android Studio (or the standalone SDK Manager) and install/update the Platform Tools component to restore it.


内容的提问来源于stack exchange,提问作者Pigna

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 11:35:34