Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin: ADB Binary is Obsolete

When I run (or first run) a Cross-Platform Android app in Visual Studio, I a message that the ADB Binary is obsolete and should be updated. Not sure from where.

ADB Binary Issue

Here are my installed tools:

enter image description here

I created a few starter apps and they work. Just not sure how to address this issue.

Also, when starting the app in VS I get this output:

[I:]:                     Looking for Android SDK...
[I:]:                       Key HKCU\SOFTWARE\Xamarin\VisualStudio\15.0_70e59f45\Android\AndroidSdkDirectory found:
Path contains adb.EXE in \platform-tools (C:\Program Files (x86)\Android\android-sdk).
[I:]:                       Key HKLM\SOFTWARE\Xamarin\VisualStudio\15.0_70e59f45\Android\AndroidSdkDirectory not found.
[I:]:                       Key HKCU\SOFTWARE\Xamarin\MonoAndroid\PrivateAndroidSdkPath not found.
[I:]:                       Key HKCU\SOFTWARE\Android SDK Tools\Path not found.
[I:]:                       Key HKLM\SOFTWARE\Android SDK Tools\Path not found.

RON

like image 702
Ron Avatar asked Jan 28 '26 15:01

Ron


1 Answers

For anyone who was getting this error but the accepted answer was not working here is an alternative solution. For me I already had the latest SDK installed but was still getting this message. To fix it I used the SDK Manager to uninstall the Android SDK Platform-tools.

After you do this Visual Studio will immediately tell you that the SDK is not in a valid state and it will re-install the entire SDK. After it is finished you need to rebuild your project in order to launch your app.

like image 133
webwires Avatar answered Jan 30 '26 04:01

webwires



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!