Bug 38309 - "Publish Android App" produces an Debug build
Summary: "Publish Android App" produces an Debug build
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: 4.0.0 (C6)
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-02-02 16:09 UTC by Cody Beyer (MSFT)
Modified: 2016-05-18 13:36 UTC (History)
5 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 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 Cody Beyer (MSFT) 2016-02-02 16:09:30 UTC
# Description

When using the “Publish Android App” feature under Tools > Android, the subsequent build that is packaged is a debug build, leading to rejection 

# Steps to Reproduce

1. Create a blank Android Project
2. Set to Release
3. Select Tools > Android > Publish Android App
4. Select/Create a keystone
5. Finalize publishing

# Expected Results

The subsequently packaged APK should be a release build, with no debug flags

# Actual Results

The build is a debug build

# Versions

Microsoft Visual Studio Professional 2013
Version 12.0.40629.00 Update 5
Microsoft .NET Framework
Version 4.6.01055

Installed Version: Professional

Team Explorer for Visual Studio 2013 06177-004-0447006-02630
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013 06177-004-0447006-02630
Microsoft Visual Basic 2013

Visual C# 2013 06177-004-0447006-02630
Microsoft Visual C# 2013

Visual C++ 2013 06177-004-0447006-02630
Microsoft Visual C++ 2013

Visual F# 2013 06177-004-0447006-02630
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker 06177-004-0447006-02630
Microsoft(r) Visual Studio(r) 2013 Code Analysis Spell Checker

Portions of International CorrectSpell(tm) spelling correction system (c) 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage(r) Dictionary of the English Language, Third Edition Copyright (c) 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Application Insights Tools for Visual Studio Package 1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 12.5.60612.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Microsoft Azure Web Apps
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure

ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013 5.2.30612.0
For additional information, visit http://www.asp.net/

Common Azure Tools 1.4
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager 2.8.60610.756
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

Windows Phone 8.1 SDK Integration 1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

Xamarin (413372c)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android (e98e962)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS (47eb74b)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 2 Jose Gallardo 2016-05-18 13:36:05 UTC
This issue should be already fixed in current public builds.
Please verify with current stable or beta channel.

Also, feel free to reopen the issue if you're still facing it.