ApkFile or InstalledApp has not been configured.

curiousXamarinUsercuriousXamarinUser USMember ✭✭
edited August 10 in Xamarin Test Cloud

I Visual Studio 2015 everything was ok, but since I switched to Visual Studio 2017, I can't run any UI tests locally anymore.

Instead, I'm getting the "ApkFile or InstalledApp has not been configured." error

How to fix that?

I make a call like this - ConfigureApp.Android.StartApp();

Tagged:

Best Answer

  • curiousXamarinUsercuriousXamarinUser USMember ✭✭
    edited September 1 Accepted Answer

    I finally found a solution

    .UITests project HAS to have references to .Droid and .iOS projects

    EDIT:

    It works for Visual Studio 2015, but for Visual Studio 2017 it still doesn't work

Answers

  • curiousXamarinUsercuriousXamarinUser USMember ✭✭
    edited September 1 Accepted Answer

    I finally found a solution

    .UITests project HAS to have references to .Droid and .iOS projects

    EDIT:

    It works for Visual Studio 2015, but for Visual Studio 2017 it still doesn't work

  • tafftaff USMember ✭✭

    Is this confirmed, that UITests are broken in 2017???

  • BradCunninghamBradCunningham USBeta, Developer Group Leader ✭✭
    edited October 19

    This is not working for me in Visual Studio 2017.

    Has anybody got this working on 2017? I am struggling to find accurate documentation for this whole process and the out of the box template (New Cross platform Unit Test project) is broken in 2017.

    Help?

  • BradCunninghamBradCunningham USBeta, Developer Group Leader ✭✭

    Ok I confirmed that it is broken in VS 2017. You HAVE to specify the APK path to get it to work. The same project opened in VS 2015 works fine.

    Hopefully this bug can get resolved.

Sign In or Register to comment.