Bug 20834 - Building the app doesnt create an apk
Summary: Building the app doesnt create an apk
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.13.x
Hardware: PC Mac OS
: High normal
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on:
Reported: 2014-06-24 03:02 UTC by James Clancey
Modified: 2014-06-24 11:58 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description James Clancey 2014-06-24 03:02:26 UTC
An APK is only created when you deploy the app not when you build it. This is is painful when you are trying to upload to testcloud.
Comment 1 Tajinder Singh 2014-06-24 03:56:34 UTC
I have checked this issue and I am able to reproduce this issue.

I observed that when I build android application an APK file is not generated but when I deploy application APK file is generated. However I am getting deployment error i.e. "Deployment failed because of an internal error: 'aaptPath' is null and no pre-built Platform.apk exists!"

Screencast: http://www.screencast.com/t/cKgD3WtBcyO0

Regression Status :This issue doesn't exist on stable build (XA 4.12.5)

Environment Info:

Mac OS X 10.9.3
Xamarin Studio: 5.0.1 (build 3)
Xamarin.Android: 4.14.0 

Build Information
Release ID: 500010003
Git revision: f94ee866936d25105704eb63728ad5a981eda0a4
Build date: 2014-06-04 12:19:12-04
Xamarin addins: 1a6044e8321ea07e03a56b5381951686c82fed8b
Comment 2 Mikayla Hutchinson [MSFT] 2014-06-24 11:58:59 UTC
This is by design, so that building would be fast, as it would just build C# code. There is a command (and a MSBuild target) to create an apk.