Bug 642 - Editing the project settings of monodroid/samples/Hello doesn't work
Summary: Editing the project settings of monodroid/samples/Hello doesn't work
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 2.0
Hardware: PC Mac OS
: --- minor
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-09-05 19:26 UTC by Rodrigo Kumpera
Modified: 2012-03-23 16:21 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 NOT_REPRODUCIBLE

Description Rodrigo Kumpera 2011-09-05 19:26:41 UTC
Open monodroid/samples/Hello on MD
Edit the 'Hello' project settings.
Change "Mono for Androind Build" -> "Linker Behavior" from "Don't link" to SDK only then back to Don't link.
Click ok.

Now onto your shell goto monodroid/samples/Hello
Hit make clean; make all; make install.

It will fail with the following:


	Target _CompileAndroidPackage:
		Mandroid Task
		  Assemblies: /Users/kumpera/src/monodroid/monodroid/samples/Hello/bin/Debug/Hello.dll; /Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mandroid/platforms/android-8/Mono.Android.dll; /Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/Mono.Data.Sqlite.dll; /Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/System.dll; /Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/System.Data.dll; /Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/System.Xml.Linq.dll; /Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/System.Xml.dll; /Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/System.Core.dll; /Users/kumpera/src/monodroid/monodroid/samples/Hello/bin/Debug//HelloLibrary.dll; /Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/mscorlib.dll
		  I18nAssemblies: west
		  BuildDirectory: /Users/kumpera/src/monodroid/monodroid/samples/Hello/obj/Debug/
		  ReferenceAssembliesDirectory: /Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mandroid/platforms/android-8;/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1;/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mandroid/platforms/android-8;/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1
		  AndroidSdkDirectory: /opt/android/sdk/
		  JavaSdkDirectory: /usr/
		  AssetDirectory: /Users/kumpera/src/monodroid/monodroid/samples/Hello/obj/Debug/assets/
		  AndroidSdkPlatform: 8
		  MonoAndroidToolsDirectory: /Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mandroid/
		  ResourceDirectory: /Users/kumpera/src/monodroid/monodroid/samples/Hello/obj/Debug/res/
		  ManifestTemplate: /Users/kumpera/src/monodroid/monodroid/samples/Hello/Properties/AndroidManifest.xml
		  Package: Mono.Samples.HelloTests
		  NativeLibrary: libs/armeabi/libfoo.so; libs/armeabi/libbar.so
		  JavaSource: TestCubeEngine.java; $(OutputPath)/custom.jar
		  Debug: True
		  UseSharedRuntime: True
		  SupportedAbis: armeabi
		  LinkMode: None
		  ExtraArgs:  
		Tool /Users/kumpera/src/monodroid/monodroid/bin/mandroid execution started with arguments: -v --nosign --sdk-dir="/opt/android/sdk/" --builddir="/Users/kumpera/src/monodroid/monodroid/samples/Hello/obj/Debug/android" --framework-dir="/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mandroid/platforms/android-8" --framework-dir="/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1" --framework-dir="/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mandroid/platforms/android-8" --framework-dir="/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1" -S="/Users/kumpera/src/monodroid/monodroid/samples/Hello/obj/Debug/res/" --package="Mono.Samples.HelloTests"   --nolink --abi="armeabi" --java-sdk-dir="/usr/" --debug --manifest-template="/Users/kumpera/src/monodroid/monodroid/samples/Hello/Properties/AndroidManifest.xml" --sdk-platform="8" -A="/Users/kumpera/src/monodroid/monodroid/samples/Hello/obj/Debug/assets/" --i18n="west" -nf="libs/armeabi/libfoo.so" -nf="libs/armeabi/libbar.so" -js="TestCubeEngine.java" -js="$(OutputPath)/custom.jar" "/Users/kumpera/src/monodroid/monodroid/samples/Hello/bin/Debug/Hello.dll" "/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mandroid/platforms/android-8/Mono.Android.dll" "/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/Mono.Data.Sqlite.dll" "/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/System.dll" "/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/System.Data.dll" "/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/System.Xml.Linq.dll" "/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/System.Xml.dll" "/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/System.Core.dll" "/Users/kumpera/src/monodroid/monodroid/samples/Hello/bin/Debug//HelloLibrary.dll" "/Users/kumpera/src/monodroid/monodroid/samples/Hello/../../lib/mono/2.1/mscorlib.dll" 
		monodroid: Invalid path name: $(OutputPath)/custom.jar
		See 'monodroid --help' for more information.
/Users/kumpera/src/monodroid/monodroid/tools/msbuild/build/Novell/Novell.MonoDroid.Common.targets: error : Tool exited with code: 1. Output: monodroid: Invalid path name: $(OutputPath)/custom.jar
See 'monodroid --help' for more information.

	Task "Mandroid" execution -- FAILED
	Done building target "_CompileAndroidPackage" in project "/Users/kumpera/src/monodroid/monodroid/samples/Hello/Hello.csproj".-- FAILED
Done building project "/Users/kumpera/src/monodroid/monodroid/samples/Hello/Hello.csproj".-- FAILED

Build FAILED.
Errors:
Comment 1 Jonathan Pobst 2012-03-23 16:21:21 UTC
I don't think this happens anymore.  If it does, please reopen!