Xamarin ui test won't launch my test: SetUp : System.Exception : ApkFile or InstalledApp has not been configured. RRS feed

  • Question

  • hi

    After losing half a day fixing a bug in app center I updated xcode, because of this I had to update visual studio. Since I did this I get the following error when I want to run my xamarin ui tests on android and iOS:

    SetUp : System.Exception : ApkFile or InstalledApp has not been configured. at Xamarin.UITest.Configuration.AndroidAppConfiguration.Verify () [0x0003d] in <2a16c16730a54859bda72c6bc1c728f7>:0 at Xamarin.UITest.Android.LocalAndroidAppInitializer.VerifyConfiguration () [0x00008] in <2a16c16730a54859bda72c6bc1c728f7>:0 at Xamarin.UITest.Android.AndroidApp..ctor (Xamarin.UITest.Configuration.IAndroidAppConfiguration appConfiguration, Xamarin.UITest.Shared.Execution.IExecutor executor) [0x000c3] in <2a16c16730a54859bda72c6bc1c728f7>:0 at Xamarin.UITest.Android.AndroidApp..ctor (Xamarin.UITest.Configuration.IAndroidAppConfiguration appConfiguration) [0x00000] in <2a16c16730a54859bda72c6bc1c728f7>:0 at Xamarin.UITest.Configuration.AndroidAppConfigurator.StartApp (Xamarin.UITest.Configuration.AppDataMode appDataMode) [0x00017] in <2a16c16730a54859bda72c6bc1c728f7>:0 at UniversalApp.UITests.AppInitializer.StartApp (Xamarin.UITest.Platform platform) [0x0000a] in /Users/testing/backend/src/UniversalApp.UITests/AppInitializer.cs:23 at UniversalApp.UITests.DummyTests.BeforeEachTest () [0x00001] in /Users/testing/backend/src/UniversalApp.UITests/DummyTests.cs:26 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0003b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-06/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305

    I don't understand how this has happend or what the cause is. Can anybody explain what is happening? 

    Thursday, April 4, 2019 1:40 PM

All replies

  • Hi friend,

    Welcome to MSDN forum.

    This forum is to discuss the test in Microsoft Test Manager. Please open a new case in Xamarin forum to seek for better support. Thank you for your understanding!

    Best regards,


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Friday, April 5, 2019 8:23 AM