Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot run XAMARIN UI TEST on xamarin.forms, error System.Exception

I want ton run Xamarin UI test, but when i run the test i have this error :

System.Exception : 'The running adb server is incompatible with the Android SDK version in use by UITest: 
C:\Program Files (x86)\Android\android-sdk

my start command-line : return ConfigureApp.Android.ApkFile("/Users/Jerem/source/repos/App4/App4/App4.Android/bin/Debug/com.companyname.App4-Signed.apk").StartApp();

Thanks for our helping

like image 964
Jeremy HOFFMANN Avatar asked Sep 10 '18 09:09

Jeremy HOFFMANN


1 Answers

If you have the same error, check in our sdk directory if you have platform-tools and platform-tools.oldxxxx, delete old ! Just work after

like image 168
Jeremy HOFFMANN Avatar answered Oct 06 '22 01:10

Jeremy HOFFMANN