Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin.forms UITest md5 not found error

Im new to Xamarin.forms development and am trying to write some UI tests.

I am on mac and have followed this guide and the tests have run fine on iOS. However, for the Android tests the emulator doesn't even start and gives the following output:

SetUp : System.Exception : Failed to execute: /Users/me/Library/Developer/Xamarin/android-sdk-macosx/platform-tools/adb -s emulator-5554 shell md5 /data/app/com.mysite.my_app-1/base.apk - exit code: 127 /system/bin/sh: md5: not found

I find this quite odd seeing as I don't get any errors relating to md5 when I run my Android emulator for debugging purposes.

Anyone have any ideas of what needs to be done to get these Android tests running?

like image 713
jonesne Avatar asked Oct 27 '25 07:10

jonesne


1 Answers

Solved it. Just had to update Xamarin.UITest to the latest (but not NUnit seeing as its Xamarin.UITest is not compatible with NUnit 3 and above)

like image 177
jonesne Avatar answered Oct 29 '25 21:10

jonesne



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!