By Kimserey Lam with

Nov 18th, 2016 - written by Kimserey with .

Last week I showed you how to fix the error adb server version doesn't match... with Xamarin.Android when trying to deploy an application built in Xamarin.Studio to a Genymotion VM. This was caused by two different versions of ADB being installed on the machine. One installed during Xamarin installation and another one installed separately. The solution was to set the ADB path in the options of Genymotion. I thought all was good but turns out there was another issue.

1. Problem

When running adb shell, I had the following error in bash:

1
adb server is out of date killing...


2. Solution

Again the problem was due to my machine having two adb versions and the adb location in $PATH was the wrong one. In order to check verify that, I ran echo$PATH and saw that the path was incorrect. In order to rectify that, I modified the ~/.bash_profile which is the script executed on each start of bash by removing the wrong path and adding the correct one.

1
vim ~/.bash_profile

1

Other posts you will like!

Designed, built and maintained by Kimserey Lam.