I am trying to develop `Xamarin.UiTests` using this: ["Introduction to Xamarin UITests](https://developer.xamarin.com/guides/testcloud/uitest/intro-to-uitest/) which says my setup code needs to look like this:

```
[SetUp]
public void Setup()
{
    app = ConfigureApp.Android.AppBundle("/path/to/application.apk").StartApp();
}

```

Previously I used to used to right click my project and press "*Publish .apk file*" which would create me a file to use. A similar technique is talked about here: <http://www.sweet-web-design.com/wordpress/how-to-build-your-android-app-for-testing-in-visual-studio/2581/>

But now Xamarin have introduced something called "Archiving" which is talked about here: <https://developer.xamarin.com/releases/vs/xamarin.vs_4/xamarin.vs_4.2/#publishing>

Which states:

> 
> The new Archive command replaces the old Build > Export Android
> Package (.apk) and Tools > Android > Publish Android App commands.
> 
> 
> 

The archive button gives me an error which I cannot actually read all of (no matter how big I make the window) see below:

[![enter image description here](https://i.stack.imgur.com/5IQKp.png)](https://i.stack.imgur.com/5IQKp.png)

So is there a way I can create an .apk file using visual studio, preferably without the "Archive" feature (as creating a seperate package version while developing ui tests seems like a waste of time, plus doesn't actually work)