Bug 26321 - Deploy fails from invalid create-package command.
Summary: Deploy fails from invalid create-package command.
Status: RESOLVED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: Tools and Addins ()
Version: 5.1
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2015-01-23 00:30 UTC by rchawla
Modified: 2017-09-12 18:18 UTC (History)
3 users (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 INVALID

Description rchawla 2015-01-23 00:30:59 UTC
I'm starting to use Xamarin and trying the PhoneWord application. When I try to deploy, I get an error saying 'Invalid create-package command'.

The details of my environment are first, followed by the build log that shows the error.

Regards,
Rajesh



=== Xamarin Studio ===

Version 5.5.4 (build 15)
Installation UUID: 36a5f328-aa00-4a86-84b4-5e3bf7e2d7cc
Runtime:
	Mono 3.12.0 ((detached/a813491)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000068

=== Apple Developer Tools ===

Xcode 6.1.1 (6611)
Build 6A2008a

=== Xamarin.Mac ===

Version:

=== Xamarin.Android ===

Version: 4.20.0.28 (Business Edition)
Android SDK: /Users/rajeshchawla/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.4   (API level 19)
		5.0   (API level 21)
Java SDK: /usr
java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)

=== Xamarin.iOS ===

Version: 8.6.0.51 (Business Edition)
Hash: dfb682f
Branch: 
Build date: 2015-01-08 13:39:32-0500

=== Build Information ===

Release ID: 505040015
Git revision: f93940a35458a18052f1a25e106e62ca970d9c40
Build date: 2014-11-19 15:32:41-05
Xamarin addins: dc23cbd91a3a0e1d326328e1229e86c942a49ec8

=== Operating System ===

Mac OS X 10.10.1
Darwin Rajeshs-MBP-814 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64




========================

Build started 1/22/2015 10:17:30 PM.
__________________________________________________
Project "/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/PhoneWord_Droid.csproj" (SignAndroidPackage target(s)):
	
	Target _SetLatestTargetFrameworkVersion:
		  ReferenceAssemblyPaths: 
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0
	
	Target _CheckProjectItems:
		CheckProjectItems Task
		  NativeLibraries:
		  JavaLibraries:
		  JavaSourceFiles:
		    MainActivity.cs
	
	Target PrepareForBuild:
		Configuration: Release Platform: AnyCPU
	
	Target _ComputeAndroidAssetsPaths:
		  ResourceFiles:
		  IntermediateFiles:
	
	Target _GenerateAndroidAssetsDir:
	No output files were specified for target _GenerateAndroidAssetsDir, skipping.
	
	Target _ComputeAndroidResourcePaths:
		  ResourceFiles:
		    Resources/layout/Main.axml
		    Resources/values/Strings.xml
		    Resources/drawable-hdpi/Icon.png
		  IntermediateFiles:
		    /Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/res/layout/main.xml
		    /Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/res/values/strings.xml
		    /Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/res/drawable-hdpi/icon.png
	
	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: 16
		TargetFrameworkVersion: v4.1
		Android NDK: /Users/rajeshchawla/Library/Developer/Xamarin/android-ndk/android-ndk-r8d/
		Android SDK: /Users/rajeshchawla/Library/Developer/Xamarin/android-sdk-mac_x86/
		Android SDK Build Tools: /Users/rajeshchawla/Library/Developer/Xamarin/android-sdk-mac_x86/build-tools/21.1.2/
		Java SDK: /usr/
	
	Target _GenerateAndroidResourceDir:
	Skipping target "_GenerateAndroidResourceDir" because its outputs are up-to-date.
	
	Target _ValidateAndroidPackageProperties:
		GetAndroidPackageName Task
		  ManifestFile: /Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/Properties/AndroidManifest.xml
		  AssemblyName: PhoneWord_Droid
		  PackageName: PhoneWord_Droid.PhoneWord_Droid
	
	Target _ExtractLibraryProjectImports:
		  Assemblies: 
		    /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/v4.1/Mono.Android.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll
		  Jars: 
		  ResolvedResourceDirectories: 
		  ResolvedAssetDirectories: 
		  ResolvedEnvironmentFiles: 
		  ResolvedResourceDirectoryStamps: 
	
	Target _GetLibraryImports:
		  NativeLibraries: 
		  Jars: 
	
	Target _CheckDuplicateJavaLibraries:
		  JavaSourceFiles:
		    MainActivity.cs
		  JavaLibraries:
		  LibraryProjectJars:
	
	Target _GetAdditionalResourcesFromAssemblies:
		  Assemblies: 
		    /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/v4.1/Mono.Android.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll
	
	Target _UpdateAndroidResgen:
	Skipping target "_UpdateAndroidResgen" because its outputs are up-to-date.
	
	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 _ResolveAssemblies:
		ResolveAssemblies Task
		  ReferenceAssembliesDirectory: /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.1;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0.3;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v3.1;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.3;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.2;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.1;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.6;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/
		  I18nAssemblies: 
		  LinkMode: SdkOnly
		  Assemblies:
		    bin/Release/PhoneWord_Droid.dll
		    /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/v4.1/Mono.Android.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll
		  [Output] ResolvedAssemblies:
		    /Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/bin/Release/PhoneWord_Droid.dll
		    /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/v4.1/Mono.Android.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll
		  [Output] ResolvedUserAssemblies:
		    /Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/bin/Release/PhoneWord_Droid.dll
		  [Output] ResolvedFrameworkAssemblies:
		    /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/v4.1/Mono.Android.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll
		  [Output] ResolvedDoNotPackageAttributes:
	
	Target _CopyIntermediateAssemblies:
		SourceFiles:
		    /Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/bin/Release/PhoneWord_Droid.dll
		    /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/v4.1/Mono.Android.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll
		DestinationFiles:
		    obj/Release/assemblies/PhoneWord_Droid.dll
		    obj/Release/assemblies/System.dll
		    obj/Release/assemblies/System.Xml.dll
		    obj/Release/assemblies/Mono.Android.dll
		    obj/Release/assemblies/System.Core.dll
		    obj/Release/assemblies/mscorlib.dll
		SourceFiles:
		    /Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/bin/Release/PhoneWord_Droid.dll
		    /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/v4.1/Mono.Android.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll
		    /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll
		DestinationFiles:
		    obj/Release/assemblies/PhoneWord_Droid.dll
		    obj/Release/assemblies/System.dll
		    obj/Release/assemblies/System.Xml.dll
		    obj/Release/assemblies/Mono.Android.dll
		    obj/Release/assemblies/System.Core.dll
		    obj/Release/assemblies/mscorlib.dll
	
	Target _ScanAssemblies:
		ScanAssemblies Task
		  UseSharedRuntime: false
		  MainAssembly: obj/Release/assemblies/PhoneWord_Droid.dll
		  OutputDirectory: obj/Release/android/assets/
		  I18nAssemblies: 
		  ReferenceAssembliesDirectory: /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.1;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0.3;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v3.1;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.3;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.2;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.1;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.6;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/
		  ResolvedAssemblies:
		    obj/Release/assemblies/PhoneWord_Droid.dll
		    obj/Release/assemblies/System.dll
		    obj/Release/assemblies/System.Xml.dll
		    obj/Release/assemblies/Mono.Android.dll
		    obj/Release/assemblies/System.Core.dll
		    obj/Release/assemblies/mscorlib.dll
	
	Target _StripEmbeddedLibraries:
		  Assemblies: 
		    obj/Release/assemblies/PhoneWord_Droid.dll
		    obj/Release/assemblies/System.dll
		    obj/Release/assemblies/System.Xml.dll
		    obj/Release/assemblies/Mono.Android.dll
		    obj/Release/assemblies/System.Core.dll
		    obj/Release/assemblies/mscorlib.dll
	
	Target _ResetLinkingFlag:
		Deleting file '/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/link.flag'
	
	Target _LinkAssemblies:
		LinkAssemblies Task
		  UseSharedRuntime: false
		  MainAssembly: obj/Release/assemblies/PhoneWord_Droid.dll
		  OutputDirectory: obj/Release/android/assets/
		  I18nAssemblies: 
		  LinkMode: SdkOnly
		  LinkDescriptions:
		  ResolvedAssemblies:
		    obj/Release/assemblies/PhoneWord_Droid.dll
		    obj/Release/assemblies/System.dll
		    obj/Release/assemblies/System.Xml.dll
		    obj/Release/assemblies/Mono.Android.dll
		    obj/Release/assemblies/System.Core.dll
		    obj/Release/assemblies/mscorlib.dll
	
	Target _PrepareAssemblies:
		  Files
		    obj/Release/android/assets/PhoneWord_Droid.dll
		    obj/Release/android/assets/System.dll
		    obj/Release/android/assets/System.Xml.dll
		    obj/Release/android/assets/Mono.Android.dll
		    obj/Release/android/assets/System.Core.dll
		    obj/Release/android/assets/mscorlib.dll
		  [Output] FilesThatExist
		    obj/Release/android/assets/PhoneWord_Droid.dll
		    obj/Release/android/assets/System.dll
		    obj/Release/android/assets/Mono.Android.dll
		    obj/Release/android/assets/System.Core.dll
		    obj/Release/android/assets/mscorlib.dll
		  Files
		    obj/Release/android/assets/PhoneWord_Droid.dll.mdb
		    obj/Release/android/assets/System.dll.mdb
		    obj/Release/android/assets/System.Xml.dll.mdb
		    obj/Release/android/assets/Mono.Android.dll.mdb
		    obj/Release/android/assets/System.Core.dll.mdb
		    obj/Release/android/assets/mscorlib.dll.mdb
		  [Output] FilesThatExist
		    obj/Release/android/assets/PhoneWord_Droid.dll.mdb
		    obj/Release/android/assets/System.dll.mdb
		    obj/Release/android/assets/Mono.Android.dll.mdb
		    obj/Release/android/assets/System.Core.dll.mdb
		    obj/Release/android/assets/mscorlib.dll.mdb
		  Files
		    obj/Release/android/assets/PhoneWord_Droid.dll
		  [Output] FilesThatExist
		    obj/Release/android/assets/PhoneWord_Droid.dll
		  Files
		    obj/Release/android/assets/System.dll
		    obj/Release/android/assets/System.Xml.dll
		    obj/Release/android/assets/Mono.Android.dll
		    obj/Release/android/assets/System.Core.dll
		    obj/Release/android/assets/mscorlib.dll
		  [Output] FilesThatExist
		    obj/Release/android/assets/System.dll
		    obj/Release/android/assets/Mono.Android.dll
		    obj/Release/android/assets/System.Core.dll
		    obj/Release/android/assets/mscorlib.dll
	
	Target _GenerateJavaStubs:
		  ResolvedAssemblies:
		    obj/Release/android/assets/PhoneWord_Droid.dll
		    obj/Release/android/assets/System.dll
		    obj/Release/android/assets/Mono.Android.dll
		    obj/Release/android/assets/System.Core.dll
		    obj/Release/android/assets/mscorlib.dll
		  ResolvedUserAssemblies:
		    obj/Release/android/assets/PhoneWord_Droid.dll
	
	Target _AddStaticResources:
		Resource obj/Release/android/assets/machine.config is unchanged. Skipping.
		Resource obj/Release/android/src/mono/MonoRuntimeProvider.java is unchanged. Skipping.
	
	Target _GeneratePackageManagerJava:
		  ResolvedAssemblies:
		    obj/Release/android/assets/PhoneWord_Droid.dll
		    obj/Release/android/assets/System.dll
		    obj/Release/android/assets/Mono.Android.dll
		    obj/Release/android/assets/System.Core.dll
		    obj/Release/android/assets/mscorlib.dll
		  ResolvedUserAssemblies:
		    obj/Release/android/assets/PhoneWord_Droid.dll
	
	Target _CreateBaseApk:
	Skipping target "_CreateBaseApk" because its outputs are up-to-date.
	
	Target _CompileJava:
		  JavaSourceFiles:
		    MainActivity.cs
		  JavaLibraries:
		  ExternalJavaLibraries:
		  AddOnPlatformLibraries:
		  LibraryProjectJars:
		Tool /usr//bin/javac execution started with arguments: -J-Dfile.encoding=UTF8 -d obj/Release/android/bin/classes -classpath /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.1/mono.android.jar -bootclasspath /Users/rajeshchawla/Library/Developer/Xamarin/android-sdk-mac_x86/platforms/android-16/android.jar -encoding UTF-8 @/var/folders/wg/ytr17yln5bs2wdzk3596nvl40000gn/T/tmp1aac1779.tmp 
	
	Target _CompileDex:
		  JavaSourceFiles:
		    MainActivity.cs
		  JavaLibraries:
		  ExternalJavaLibraries:
		  LibraryProjectJars:
		  AdditionalJavaLibraryReferences:
		  DoNotPackageJavaLibraries:
		Tool /usr/bin/java execution started with arguments: -jar /Users/rajeshchawla/Library/Developer/Xamarin/android-sdk-mac_x86/build-tools/21.1.2//lib/dx.jar --no-strict --dex --output=obj/Release/android/bin/classes.dex obj/Release/android/bin/classes /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.1/mono.android.jar 
	
	Target _RemoveRegisterAttribute:
		Copying file from '/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/assets/System.dll' to '/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/assets/shrunk/System.dll'
		Copying file from '/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/assets/Mono.Android.dll' to '/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/assets/shrunk/Mono.Android.dll'
		Copying file from '/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/assets/System.Core.dll' to '/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/assets/shrunk/System.Core.dll'
		Copying file from '/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/assets/mscorlib.dll' to '/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/assets/shrunk/mscorlib.dll'
		SourceFiles:
		    obj/Release/android/assets/System.dll
		    obj/Release/android/assets/Mono.Android.dll
		    obj/Release/android/assets/System.Core.dll
		    obj/Release/android/assets/mscorlib.dll
		DestinationFiles:
		    obj/Release/android/assets/shrunk/System.dll
		    obj/Release/android/assets/shrunk/Mono.Android.dll
		    obj/Release/android/assets/shrunk/System.Core.dll
		    obj/Release/android/assets/shrunk/mscorlib.dll
		RemoveRegisterAttribute Task
		  ShrunkFrameworkAssemblies:
		    obj/Release/android/assets/shrunk/System.dll
		    obj/Release/android/assets/shrunk/Mono.Android.dll
		    obj/Release/android/assets/shrunk/System.Core.dll
		    obj/Release/android/assets/shrunk/mscorlib.dll
	
	Target _BuildApkEmbed:
		  Environments:
		  ResolvedUserAssemblies:
		    obj/Release/android/assets/PhoneWord_Droid.dll
		  ResolvedFrameworkAssemblies:
		    obj/Release/android/assets/shrunk/System.dll
		    obj/Release/android/assets/shrunk/Mono.Android.dll
		    obj/Release/android/assets/shrunk/System.Core.dll
		    obj/Release/android/assets/shrunk/mscorlib.dll
		  NativeLibraries:
		  BundleNativeLibraries:
		  JavaSourceFiles:
		    MainActivity.cs
		  JavaLibraries:
		  LibraryProjectJars:
	
	Target _Mandroid:
		Mandroid Task
		  Assemblies: bin/Release/PhoneWord_Droid.dll; /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/v4.1/Mono.Android.dll; /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll; /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll
		  AndroidEmbedProfilers: 
		  I18nAssemblies: 
		  BuildDirectory: obj/Release/
		  ReferenceAssembliesDirectory: /Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.1;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0.3;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v3.1;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.3;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.2;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.1;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.6;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0;/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/
		  AndroidSdkDirectory: /Users/rajeshchawla/Library/Developer/Xamarin/android-sdk-mac_x86/
		  JavaSdkDirectory: /usr/
		  AssetDirectory: obj/Release/assets/
		  AndroidSdkPlatform: 16
		  MonoAndroidToolsDirectory: /Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/mandroid/
		  ResourceDirectory: obj/Release/res/
		  ManifestTemplate: /Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/Properties/AndroidManifest.xml
		  Package: PhoneWord_Droid.PhoneWord_Droid
		  NativeLibrary: 
		  JavaSource: MainActivity.cs
		  Debug: False
		  UseSharedRuntime: False
		  SupportedAbis: x86
		  LinkMode: SdkOnly
		  ExtraArgs:  
		  Command line: -v --nosign --sdk-dir="/Users/rajeshchawla/Library/Developer/Xamarin/android-sdk-mac_x86/" --builddir="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.1" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0.3" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v3.1" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.3" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.2" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.1" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.6" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/" -S="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/res/" --package="PhoneWord_Droid.PhoneWord_Droid" --input="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/bin/resources_and_assemblies" --output="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/bin/PhoneWord_Droid.PhoneWord_Droid.apk"   --linksdkonly --noshared --abi="x86" --java-sdk-dir="/usr/" --manifest-template="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/Properties/AndroidManifest.xml" --sdk-platform="16" -js="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/MainActivity.cs" "/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/bin/Release/PhoneWord_Droid.dll" "/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/v4.1/Mono.Android.dll" "/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll" "/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll"
:  mandroiderror XA0000: Invalid create-package command: -v --nosign --sdk-dir="/Users/rajeshchawla/Library/Developer/Xamarin/android-sdk-mac_x86/" --builddir="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.1" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0.3" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v3.1" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.3" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.2" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.1" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.6" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/" -S="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/res/" --package="PhoneWord_Droid.PhoneWord_Droid" --input="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/bin/resources_and_assemblies" --output="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/bin/PhoneWord_Droid.PhoneWord_Droid.apk"   --linksdkonly --noshared --abi="x86" --java-sdk-dir="/usr/" --manifest-template="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/Properties/AndroidManifest.xml" --sdk-platform="16" -js="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/MainActivity.cs" "/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/bin/Release/PhoneWord_Droid.dll" "/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/v4.1/Mono.Android.dll" "/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll" "/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll"
	Task "Mandroid" execution -- FAILED
	Done building target "_Mandroid" in project "/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/PhoneWord_Droid.csproj".-- FAILED
	
Done building project "/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/PhoneWord_Droid.csproj".-- FAILED

Build FAILED.
Errors:

/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/PhoneWord_Droid.csproj (SignAndroidPackage) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets (_Mandroid target) ->

	:  mandroiderror XA0000: Invalid create-package command: -v --nosign --sdk-dir="/Users/rajeshchawla/Library/Developer/Xamarin/android-sdk-mac_x86/" --builddir="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.1" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0.3" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v4.0" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v3.1" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.3" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.2" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v2.1" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.6" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0" --framework-dir="/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/Facades/" -S="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/res/" --package="PhoneWord_Droid.PhoneWord_Droid" --input="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/bin/resources_and_assemblies" --output="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/obj/Release/android/bin/PhoneWord_Droid.PhoneWord_Droid.apk"   --linksdkonly --noshared --abi="x86" --java-sdk-dir="/usr/" --manifest-template="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/Properties/AndroidManifest.xml" --sdk-platform="16" -js="/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/MainActivity.cs" "/Users/rajeshchawla/Projects/PhoneWord/PhoneWord_Droid/bin/Release/PhoneWord_Droid.dll" "/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/v4.1/Mono.Android.dll" "/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/System.Core.dll" "/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll"

	 0 Warning(s)
	 1 Error(s)

Time Elapsed 00:00:05.7451120

Package creation failed.
Comment 1 Naqeeb 2015-01-23 08:49:18 UTC
Hi Rajesh,

I have tried reproduce this issue but not able to reproduce it. I have downloaded PhoneWord sample from https://github.com/xamarin/mobile-samples and it runs successfully on Android device and emulator successfully without any error.

Could you please let me know if I have missed some steps to reproduce this issue? So
that I can reproduce this issue at our end.

Thanks

I have tried to reproduce it on following environment.

Environment info: 
=== Xamarin Studio ===

Version 5.5.4 (build 15)
Installation UUID: 3dbf10c4-ed30-4e55-8a8b-1704777c7b5f
Runtime:
 Mono 3.12.0 ((detached/a813491)
 GTK+ 2.24.23 (Raleigh theme)

 Package version: 312000068

=== Xamarin.Android ===

Version: 4.20.0.28 (Trial Edition)
Android SDK: /Users/apprpject/Desktop/android-sdk-macosx
 Supported Android versions:
  2.1    (API level 7)
  2.2    (API level 8)
  2.3    (API level 10)
  3.1    (API level 12)
  3.2    (API level 13)
  4.0    (API level 14)
  4.0.3  (API level 15)
  4.1    (API level 16)
  4.2    (API level 17)
  4.3    (API level 18)
  4.4    (API level 19)
  4.4.87 (API level 20)
  5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Apple Developer Tools ===

Xcode 5.1.1 (5085)
Build 5B1008

=== Xamarin.iOS ===

Version: 8.6.1.19 (Trial Edition)
Hash: 80971a6
Branch: 
Build date: 2015-01-21 17:42:51-0500

=== Xamarin.Mac ===

Version: 1.12.0.4 (Starter Edition)

=== Build Information ===

Release ID: 505040015
Git revision: f93940a35458a18052f1a25e106e62ca970d9c40
Build date: 2014-11-19 15:32:41-05
Xamarin addins: dc23cbd91a3a0e1d326328e1229e86c942a49ec8

=== Operating System ===

Mac OS X 10.8.5
Darwin localhost 12.5.0 Darwin Kernel Version 12.5.0
    Sun Sep 29 13:33:47 PDT 2013
    root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64

App info: mobile-samples_1d4f21f03ecb029148bfb54c6846975fe1ee34a9
Comment 2 rchawla 2015-01-23 11:58:48 UTC
Thanks for your help. I see differences in the environment around XCode, though it seems unlikely that an iOS dependency would cause an Android build issue. So, my request is can you please extract the command  that xamarin actually runs, so that I can try it in a console window ? The hope is that additional troubleshooting information will be shown.

Also open to any other ideas or suggestions to resolve this issue.

Regards,
Rajesh
Comment 3 Jon Douglas [MSFT] 2017-09-12 18:18:58 UTC
Thank you for taking the time to submit this report. After reviewing the description of this bug, we believe it no longer affects the current version of Xamarin.Android. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.