Reputation: 323
Cannot find adb.exe in specified SDK path:
C:\Program Files (x86)\Android\android-sdk\platform-tools\platform-tools\adb.exe
I know it's there because I can see adb.exe in the folder, anyone know how to fix this?
Upvotes: 8
Views: 17878
Reputation: 4198
Run "SDK Manager" as administrator:
C:\Program Files (x86)\Android\android-sdk\SDK Manager.exe
Download the missing libraries.
Android SDK Tools
Android SDK Platform-tools
Set the path of the SDK in Visual Studio:
Tools -> Options -> Xamarin -> Android Settings
Android SDK Location: C:\Program Files (x86)\Android\android-sdk
Upvotes: 6
Reputation: 31
Just use sdk manager and install what comes up to be missing or not found ......trust me it works.
Upvotes: 1
Reputation: 1
you have to paste this adress when you are looking for sdk in option>xamarin>android settings C:\Program Files (x86)\Android\android-sdk
Upvotes: -2
Reputation: 137
Please be aware with the current standalone SDK the SDK platform tools (needed for VS) should be downloaded first via the SDK manager in the SDK folder
Upvotes: 3
Reputation: 191844
When you set the SDK path, it is going to take the current folder and look for adb at PATH\platform-tools\adb.exe
.
It would appear that you've set that path as C:\Program Files (x86)\Android\android-sdk\platform-tools
, so that's why you see it can't find it, because there is no platform tools folder inside the platform tools folder.
Upvotes: 1
Reputation:
Try going to Tools >> Options >> Xamarin >> Android Settings. Then make sure all your Locations for SDK, NDK and JDK are correct and pointing to the correct path. Make sure you are running your project editor(xamarin studio/visual studio) in Admin too.
Upvotes: 1