Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the release apk file for cordova apps in Visual Studio 2015

I have created a certificate file using keytool command line. then i have updated ant.properties file ( under res -> native -> android) by adding the information i have set in the certificate file.

also, i have copied the certificate file in the same folder of ant.properties.

I followed the steps as mentioned in MSDN here:

https://msdn.microsoft.com/en-us/library/Dn757048.aspx

When i build in release mode in Visual Studio 2015, i don't see a release apk generated in the solution folder or inside the bin.

any help is appreciate it.

like image 490
Mostafa Avatar asked Aug 18 '15 14:08

Mostafa


1 Answers

To generate the release apk file in Visual studio, follow these steps:

1) Select Release build option.

2) Select Android from the solution platform options.

3) Select Device "This is a must step".

enter image description here

4) Right click on your project and Build the cordova app.

5) Check out Release folder in (ProjectFolder/bin/Android).

6) you will find your release apk file.

like image 122
Mostafa Avatar answered Oct 02 '22 21:10

Mostafa