Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

can build Debug .apk for shared project

eoinaherneoinahern USMember
edited September 2016 in Xamarin.Android

Hi, Iam trying to create a debug .apk to use in my UITests folder for android.

    [TestFixture(Platform.Android)]
    public class Tests
    {
        IApp app;
        Platform platform;

     [SetUp]
    public void BeforeEachTest()
    {
         app = ConfigureApp.Android.StartApp();
    }


}

I want to link to it in my BeforeEachTest method buy passing in the string file location. At the minute I clean and rebuild the Droid folder in the shared project. then, I look inside in bin/Debug for the unsigned .apk. but alas none is created??

changed the dir to show hidden folders but its still not there. Also in the debug output when I build it says the .apk is being created? I am using vs 2015? Can anyone tell me how to get my hands on the debug .apk as my 2 uitests are failing at the minute.

been following this tutorial

and trying to emulate how he sets up the tests but just for the android side as tests for ios are already in place. Thanks for your insight.

Sign In or Register to comment.