About design and nearby

How to Build Your Android App (.apk) for Testing in Visual Studio

Posted: April 7th, 2015 | Author: | Filed under: Development, Mobile Design and Development, Tips and Tricks | Tags: , , , , , | 1 Comment »

After an application has been coded, you have to test it. And to test the app you should create APK (.apk) file firstly.

Below is how I do that (for Android application powered by Xamarin):

1. Right-click at your Android project: open ‘Properties’ tab. Be sure that selected drop down is ‘Release’, not ‘Debug’.

Android .apk -1

 


*You can define here minimum Android version your app will be compatible with:

Android minimum version support

2. Click ‘Bild’ -> ‘Clean solution’:

Android app - 'Clean solution'

 

3. Then click ‘Bild’ -> ‘Rebild’.

4. Create the package:

Android package

 

For my solution structure packages are saved to Android/ bin/ Release folder:

Android .apk file location

 

5. My APK has been already signed with the private key, so the last step is copy the YOUR_APP_NAME-Signed.apk file to device and install it. That will work for testing now.

Share Button

Check Related Posts:

One Comment on “How to Build Your Android App (.apk) for Testing in Visual Studio”

  1. 1 Ray said at 8:13 pm on June 14th, 2016:
    Reply  |  Quote

    Great solution, saved me tons of time searching for this material online… spot on.


Leave a Reply


  • 9 − nine =

Looking for a Freelance UX & UI designer for your project? I’m ready to jump onboard!

Let's discuss your project now