Bug 39944 - Android Archive for Publish not archiving
Summary: Android Archive for Publish not archiving
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Greg Munn
URL:
Depends on:
Blocks:
 
Reported: 2016-03-28 09:47 UTC by ceedoubleyou
Modified: 2016-04-14 07:17 UTC (History)
1 user (show)

Tags:
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:
Status:
RESOLVED FIXED

Description ceedoubleyou 2016-03-28 09:47:44 UTC
Hi Xamarin,

I've tired to build my project in release mode(success) and archive for publishing but the android project does not get archive even though there was no error nor was the file was not present in the folder but the IOS app have no problem archiving. 

This is a new project I've just created without any new pages or function.

Below are my xamarin information

=== Xamarin Studio ===

Version 5.10.3 (build 27)
Installation UUID: 4157b548-060b-4ade-9d07-5179f523b061
Runtime:
	Mono 4.2.3 (explicit/832de4b)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402030004

=== Xamarin.Profiler ===

Not Installed

=== Xamarin.Android ===

Version: 6.0.2.1 (Business Edition)
Android SDK: /Users/SUPERSONIC/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.4   (API level 19)
		5.0   (API level 21)
		5.1   (API level 22)
		6.0   (API level 23)

SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.1
SDK Build Tools Version: 23.0.3

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.2 (9548)
Build 7C68

=== Xamarin.iOS ===

Version: 9.6.0.0 (Business Edition)
Hash: d7cac50
Branch: master
Build date: 2016-03-21 20:13:04-0400

=== Xamarin.Mac ===

Version: 2.4.1.7 (Starter Edition)

=== Build Information ===

Release ID: 510030027
Git revision: 8dc6bca63f5cd93719a093973e74de6999864193
Build date: 2016-03-17 17:13:33-04
Xamarin addins: 45239909442742bdee83a0c0f77eecb8a08bedfa
Build lane: monodevelop-lion-cycle6-c6sr2

=== Operating System ===

Mac OS X 10.10.5
Darwin iMac.local 14.5.0 Darwin Kernel Version 14.5.0
    Tue Sep  1 21:23:09 PDT 2015
    root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64

---------------------------------------------------------------------------------------------------------------------------
Following is the build output (archive for publishing)

Build started 28/3/2016 5:35:53 pm.
__________________________________________________
Project "/Users/xx/Projects/xshop/Droid/xshop.Droid.csproj" (PackageForAndroid target(s)):
	
	Target _BuildSdkCache:
	Skipping target "_BuildSdkCache" because its outputs are up-to-date.
	
	Target PrepareForBuild:
		Configuration: Release Platform: AnyCPU
	
	Target _GenerateAndroidAssetsDir:
	No output files were specified for target _GenerateAndroidAssetsDir, skipping.
	
	Target _ResolveMonoAndroidSdks:
		MonoAndroid Tools: /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mandroid/
		MonoAndroid Binaries: /Library/Frameworks/Xamarin.Android.framework/Versions/Current/bin/
		Android Platform API level: 23
		TargetFrameworkVersion: v6.0
		Android NDK: /Users/SUPERSONIC/Library/Developer/Xamarin/android-ndk/android-ndk-r10e/
		Android SDK: /Users/SUPERSONIC/Library/Developer/Xamarin/android-sdk-macosx/
		Android SDK Build Tools: /Users/SUPERSONIC/Library/Developer/Xamarin/android-sdk-macosx/build-tools/23.0.3/
		Java SDK: /usr/
	
	Target _ValidateAndroidPackageProperties:
		  PackageName: com.tv.xshop
	
	Target _ResolveLibraryProjectImports:
	Skipping target "_ResolveLibraryProjectImports" because its outputs are up-to-date.
	
	Target _BuildLibraryImportsCache:
	Skipping target "_BuildLibraryImportsCache" because its outputs are up-to-date.
	
	Target _BuildAdditionalResourcesCache:
	Skipping target "_BuildAdditionalResourcesCache" because its outputs are up-to-date.
	
	Target _CreateAdditionalResourceCache:
	Skipping target "_CreateAdditionalResourceCache" because its outputs are up-to-date.
	
	Target _GenerateAndroidResourceDir:
	Skipping target "_GenerateAndroidResourceDir" because its outputs are up-to-date.
	
	Target _UpdateAndroidResgen:
	Skipping target "_UpdateAndroidResgen" because its outputs are up-to-date.
	
	Target _GenerateJavaDesignerForComponent:
	Skipping target "_GenerateJavaDesignerForComponent" because its outputs are up-to-date.
	
	Target _CoreXamlG:
	No input files were specified for target _CoreXamlG, skipping.
	
	Target GenerateSatelliteAssemblies:
	No input files were specified for target GenerateSatelliteAssemblies, skipping.
	
	Target GenerateTargetFrameworkMonikerAttribute:
	Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
	
	Target CoreCompile:
	Skipping target "CoreCompile" because its outputs are up-to-date.
	
	Target XamlC:
		Compiling Xaml
		
Assembly: obj/Release/199shop.Droid.dll
		ReferencePath: 	/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Xml.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v6.0/Mono.Android.dll;../packages/Xamarin.Android.Support.v4.23.0.1.3/lib/MonoAndroid403/Xamarin.Android.Support.v4.dll;../packages/Xamarin.Android.Support.v7.AppCompat.23.0.1.3/lib/MonoAndroid403/Xamarin.Android.Support.v7.AppCompat.dll;../packages/Xamarin.Android.Support.Design.23.0.1.3/lib/MonoAndroid403/Xamarin.Android.Support.Design.dll;../packages/Xamarin.Android.Support.v7.CardView.23.0.1.3/lib/MonoAndroid403/Xamarin.Android.Support.v7.CardView.dll;../packages/Xamarin.Android.Support.v7.MediaRouter.23.0.1.3/lib/MonoAndroid403/Xamarin.Android.Support.v7.MediaRouter.dll;../packages/Xamarin.Forms.2.1.0.6529/lib/MonoAndroid10/Xamarin.Forms.Platform.Android.dll;../packages/Xamarin.Forms.2.1.0.6529/lib/MonoAndroid10/FormsViewGroup.dll;../packages/Xamarin.Forms.2.1.0.6529/lib/MonoAndroid10/Xamarin.Forms.Core.dll;../packages/Xamarin.Forms.2.1.0.6529/lib/MonoAndroid10/Xamarin.Forms.Xaml.dll;../packages/Xamarin.Forms.2.1.0.6529/lib/MonoAndroid10/Xamarin.Forms.Platform.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll;/Users/xx/Projects/xshop/xshop/bin/Release/xshop.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Collections.Concurrent.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Collections.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ComponentModel.Annotations.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ComponentModel.EventBasedAsync.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ComponentModel.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Contracts.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Debug.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Tools.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Diagnostics.Tracing.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Dynamic.Runtime.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Globalization.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.IO.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Linq.Expressions.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Linq.Parallel.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Linq.Queryable.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Linq.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.NetworkInformation.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Net.Requests.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ObjectModel.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Emit.ILGeneration.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Emit.Lightweight.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Emit.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Extensions.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Reflection.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Resources.ResourceManager.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Extensions.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.InteropServices.WindowsRuntime.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.InteropServices.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Numerics.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Serialization.Json.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Serialization.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.Serialization.Xml.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Runtime.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Security.Principal.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceModel.Http.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceModel.Primitives.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.ServiceModel.Security.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Text.Encoding.Extensions.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Text.Encoding.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Text.RegularExpressions.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.Tasks.Parallel.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.Tasks.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.Timer.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Threading.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.ReaderWriter.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.XDocument.dll;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/System.Xml.XmlSerializer.dll
		 Module: 199shop.Droid.dll
		
		No compiled resources. Skipping writing assembly.
	
	Target _ScanAssemblies:
	Skipping target "_ScanAssemblies" because its outputs are up-to-date.
	
	Target _CreateIntermediateAssembliesDir:
	Skipping target "_CreateIntermediateAssembliesDir" because its outputs are up-to-date.
	
	Target _CopyConfigFiles:
	No output files were specified for target _CopyConfigFiles, skipping.
	
	Target _CopyIntermediateAssemblies:
	Skipping target "_CopyIntermediateAssemblies" because its outputs are up-to-date.
	
	Target _ConvertPdbFiles:
	No output files were specified for target _ConvertPdbFiles, skipping.
	
	Target _CopyMdbFiles:
	Skipping target "_CopyMdbFiles" because its outputs are up-to-date.
	
	Target _StripEmbeddedLibraries:
	Skipping target "_StripEmbeddedLibraries" because its outputs are up-to-date.
	
	Target _AddStaticResources:
	Skipping target "_AddStaticResources" because its outputs are up-to-date.
	
	Target _CreateBaseApk:
	Skipping target "_CreateBaseApk" because its outputs are up-to-date.
	
	Target _CompileJava:
	Skipping target "_CompileJava" because its outputs are up-to-date.
	
	Target _CompileToDalvik:
	Skipping target "_CompileToDalvik" because its outputs are up-to-date.
	
	Target _BuildApkEmbed:
	Skipping target "_BuildApkEmbed" because its outputs are up-to-date.
	
	Target _Mandroid:
		Deleting file '/Users/xx/Projects/xshop/Droid/obj/Release/android/bin/com.tv.xshop.apk'
		Copying file from '/Users/xx/Projects/xshop/Droid/obj/Release/android/bin/com.tv.xshop.apk' to '/Users/xx/Projects/xshop/Droid/bin/Release/com.tv.xshop.apk'
Done building project "/Users/xx/Projects/xshop/Droid/xshop.Droid.csproj".

Build succeeded.
Comment 1 Greg Munn 2016-03-31 00:10:25 UTC
Hi, could you please attach the IDE log after attempting to archive the project - Help | Open log directory.
Comment 2 ceedoubleyou 2016-04-14 07:17:57 UTC
After i restarted my computer and recreated a new PCL app i was able to archive to publish the android. Don't know what changed and what happened but it is working now.

Thanks for your assistance Greg.