Bug 15513 - Cannot build project with release 4.10.0
Summary: Cannot build project with release 4.10.0
Status: RESOLVED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.10.0.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2013-10-19 09:09 UTC by Dave
Modified: 2013-11-17 02:29 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 Dave 2013-10-19 09:09:06 UTC
I just downloaded the 4.10.0 an ran a build.  I receive this error

C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(3,3): Error XA0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com. Reason: Could not find SDK platform directory 'C:\Users\druchti\AppData\Local\Android\android-sdk\platforms\android-4'.  Are --sdk-dir and --sdk-version set appropriately? (XA0000) (SheepsheadTHEGame)
Comment 1 Prashant Cholachagudda 2013-10-29 07:50:29 UTC
Android Log:

Forwarding debugger port 8895
Forwarding console port 8896
Detecting existing process
Loaded assembly: 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/SheepsheadTHEGame.dll
Loaded assembly: 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GameLogic.dll
Loaded assembly: 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GoogleLVL.dll
Loaded assembly: 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Newtonsoft.Json.dll 
[External]
Loaded assembly: 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Parse.Android.dll 
[External]
Loaded assembly: Mono.Android.dll [External]
Loaded assembly: System.Core.dll [External]
[Mono] Image addref mscorlib[0x2adb30] -> mscorlib.dll[0x2bfba0]: 1
[Mono] AOT failed to load AOT module mscorlib.dll.so: Cannot load 
library: load_library[1106]: Library 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/lib/mscorlib.dll.so' 
not found
[Mono] GC_MAJOR: (mature allocation failure) pause 1.30ms, total 1.25ms, 
bridge 0.03ms major 112K/32K los 0K/0K
[Mono] Assembly mscorlib[0x2adb30] added to domain RootDomain, ref_count=1
[Mono] Assembly Loader probing location: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/SheepsheadTHEGame.dll'.
[Mono] Image addref SheepsheadTHEGame[0x2fd368] -> 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/SheepsheadTHEGame.dll[0x2fc690]: 
2
[Mono] Assembly SheepsheadTHEGame[0x2fd368] added to domain RootDomain, 
ref_count=1
[Mono] AOT failed to load AOT module 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/SheepsheadTHEGame.dll.so: 
Cannot load library: load_library[1106]: Library 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/lib//data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/SheepsheadTHEGame.dll.so' 
not found
[Mono] Assembly Loader loaded assembly from location: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/SheepsheadTHEGame.dll'.
[Mono] Config attempting to parse: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/SheepsheadTHEGame.dll.config'.
[Mono] Config attempting to parse: 
'/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.0-branch/3362d6da/source/monodroid/builds/install/mono-armv7/etc/mono/assemblies/SheepsheadTHEGame/SheepsheadTHEGame.config'.
[Mono] Assembly Loader probing location: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GameLogic.dll'.
[Mono] Image addref GameLogic[0x302c18] -> 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GameLogic.dll[0x3020d8]: 
2
[Mono] Assembly GameLogic[0x302c18] added to domain RootDomain, ref_count=1
[Mono] AOT failed to load AOT module 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GameLogic.dll.so: 
Cannot load library: load_library[1106]: Library 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/lib//data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GameLogic.dll.so' 
not found
[Mono] Assembly Loader loaded assembly from location: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GameLogic.dll'.
[Mono] Config attempting to parse: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GameLogic.dll.config'.
[Mono] Config attempting to parse: 
'/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.0-branch/3362d6da/source/monodroid/builds/install/mono-armv7/etc/mono/assemblies/GameLogic/GameLogic.config'.
[Mono] Assembly Loader probing location: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GoogleLVL.dll'.
[Mono] Image addref GoogleLVL[0x307ae0] -> 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GoogleLVL.dll[0x306f88]: 
2
[Mono] Assembly GoogleLVL[0x307ae0] added to domain RootDomain, ref_count=1
[Mono] AOT failed to load AOT module 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GoogleLVL.dll.so: 
Cannot load library: load_library[1106]: Library 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/lib//data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GoogleLVL.dll.so' 
not found
[Mono] Assembly Loader loaded assembly from location: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GoogleLVL.dll'.
[Mono] Config attempting to parse: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/GoogleLVL.dll.config'.
[Mono] Config attempting to parse: 
'/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.0-branch/3362d6da/source/monodroid/builds/install/mono-armv7/etc/mono/assemblies/GoogleLVL/GoogleLVL.config'.
[Mono] Assembly Loader probing location: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Newtonsoft.Json.dll'.
[Mono] Image addref Newtonsoft.Json[0x30c9a8] -> 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Newtonsoft.Json.dll[0x30be50]: 
2
[Mono] Assembly Newtonsoft.Json[0x30c9a8] added to domain RootDomain, 
ref_count=1
[Mono] AOT failed to load AOT module 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Newtonsoft.Json.dll.so: 
Cannot load library: load_library[1106]: Library 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/lib//data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Newtonsoft.Json.dll.so' 
not found
[Mono] Assembly Loader loaded assembly from location: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Newtonsoft.Json.dll'.
[Mono] Config attempting to parse: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Newtonsoft.Json.dll.config'.
[Mono] Config attempting to parse: 
'/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.0-branch/3362d6da/source/monodroid/builds/install/mono-armv7/etc/mono/assemblies/Newtonsoft.Json/Newtonsoft.Json.config'.
[Mono] Assembly Loader probing location: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Parse.Android.dll'.
[Mono] Image addref Parse.Android[0x311740] -> 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Parse.Android.dll[0x310c28]: 
2
[Mono] Assembly Parse.Android[0x311740] added to domain RootDomain, 
ref_count=1
[Mono] AOT failed to load AOT module 
/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Parse.Android.dll.so: 
Cannot load library: load_library[1106]: Library 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/lib//data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Parse.Android.dll.so' 
not found
[Mono] Assembly Loader loaded assembly from location: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Parse.Android.dll'.
[Mono] Config attempting to parse: 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/files/.__override__/Parse.Android.dll.config'.
[Mono] Config attempting to parse: 
'/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.0-branch/3362d6da/source/monodroid/builds/install/mono-armv7/etc/mono/assemblies/Parse.Android/Parse.Android.config'.
[monodroid-gc] GREF GC Threshold: 46800
[Mono] Image addref Mono.Android[0x3163b0] -> Mono.Android.dll[0x3158d8]: 1
[Mono] Assembly Mono.Android[0x3163b0] added to domain RootDomain, 
ref_count=1
[Mono] AOT failed to load AOT module Mono.Android.dll.so: Cannot load 
library: load_library[1106]: Library 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/lib/Mono.Android.dll.so' 
not found
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped 
to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x32b618].
[Mono] Assembly Ref addref Mono.Android[0x3163b0] -> mscorlib[0x2adb30]: 2
[Mono] The request to load the assembly System.Core v2.0.5.0 was 
remapped to v3.5.0.0
[Mono] Image addref System.Core[0x386778] -> System.Core.dll[0x385c20]: 1
[Mono] Assembly System.Core[0x386778] added to domain RootDomain, 
ref_count=1
[Mono] AOT failed to load AOT module System.Core.dll.so: Cannot load 
library: load_library[1106]: Library 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/lib/System.Core.dll.so' 
not found
[Mono] Assembly Ref addref Mono.Android[0x3163b0] -> 
System.Core[0x386778]: 2
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped 
to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x38c750].
[Mono] Assembly Ref addref System.Core[0x386778] -> mscorlib[0x2adb30]: 3
[Mono] Assembly Ref addref SheepsheadTHEGame[0x2fd368] -> 
Mono.Android[0x3163b0]: 2
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped 
to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x36e2e0].
[Mono] Assembly Ref addref SheepsheadTHEGame[0x2fd368] -> 
mscorlib[0x2adb30]: 4
[Mono] DllImport attempting to load: '__Internal'.
[Mono] DllImport loaded library '(null)'.
[Mono] DllImport searching in: '__Internal' ('(null)').
[Mono] Searching for '_monodroid_gref_inc'.
[Mono] Probing '_monodroid_gref_inc'.
[Mono] Found as '_monodroid_gref_inc'.
[Mono] DllImport searching in: '__Internal' ('(null)').
[Mono] Searching for '_monodroid_gref_log_new'.
[Mono] Probing '_monodroid_gref_log_new'.
[Mono] Found as '_monodroid_gref_log_new'.
Loaded assembly: MonoDroidConstructors [External]
[Mono] The request to load the assembly System v2.0.5.0 was remapped to 
v2.0.0.0
[Mono] Image addref System[0x5720c8] -> System.dll[0x52f418]: 1
[Mono] Assembly System[0x5720c8] added to domain RootDomain, ref_count=1
[Mono] AOT failed to load AOT module System.dll.so: Cannot load library: 
load_library[1106]: Library 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/lib/System.dll.so' 
not found
[Mono] Assembly Ref addref SheepsheadTHEGame[0x2fd368] -> 
System[0x5720c8]: 2
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped 
to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x53c770].
[Mono] Assembly Ref addref System[0x5720c8] -> mscorlib[0x2adb30]: 5
[Mono] Assembly Ref addref SheepsheadTHEGame[0x2fd368] -> 
GoogleLVL[0x307ae0]: 2
[Mono] Assembly Ref addref SheepsheadTHEGame[0x2fd368] -> 
GameLogic[0x302c18]: 2
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped 
to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x53c770].
[Mono] Assembly Ref addref GameLogic[0x302c18] -> mscorlib[0x2adb30]: 6
[Mono] The request to load the assembly System v2.0.5.0 was remapped to 
v2.0.0.0
[Mono] Unloading image System.dll [0x53c770].
[Mono] Image addref System[0x579d60] -> System.dll[0x52f418]: 4
[Mono] Assembly Ref addref GameLogic[0x302c18] -> System[0x5720c8]: 3
Loaded assembly: System.dll [External]
[Mono] Assembly Ref addref GoogleLVL[0x307ae0] -> Mono.Android[0x3163b0]: 3
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped 
to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x580e58].
[Mono] Assembly Ref addref GoogleLVL[0x307ae0] -> mscorlib[0x2adb30]: 7
Resolved pending breakpoint at 'c:\Users\druchti\Documents\Sheepshead 
THE Game All 
Development\SheepsheadTHEGameAndroid\SheepsheadTHEGame\SheepsheadTHEGameActivity.cs:252,4' 
to void SheepsheadTHEGame.SheepsheadTHEGameActivity.Initialize () [0x001ce].
Resolved pending breakpoint at 'c:\Users\druchti\Documents\Sheepshead 
THE Game All 
Development\SheepsheadTHEGameAndroid\SheepsheadTHEGame\SheepsheadTHEGameActivity.cs:106,1' 
to void SheepsheadTHEGame.SheepsheadTHEGameActivity.OnCreate 
(Android.OS.Bundle bundle) [0x00001].
Resolved pending breakpoint at 'c:\Users\druchti\Documents\Sheepshead 
THE Game All 
Development\SheepsheadTHEGameAndroid\SheepsheadTHEGame\SheepsheadTHEGameActivity.cs:111,1' 
to void SheepsheadTHEGame.SheepsheadTHEGameActivity.OnCreate 
(Android.OS.Bundle bundle) [0x00019].
Resolved pending breakpoint at 'c:\Users\druchti\Documents\Sheepshead 
THE Game All 
Development\SheepsheadTHEGameAndroid\SheepsheadTHEGame\SheepsheadTHEGameActivity.cs:560,1' 
to void SheepsheadTHEGame.SheepsheadTHEGameActivity.DetermineDeviceSize 
() [0x00001].
[Mono] DllImport searching in: '__Internal' ('(null)').
[Mono] Searching for '_monodroid_gc_wait_for_bridge_processing'.
[Mono] Probing '_monodroid_gc_wait_for_bridge_processing'.
[Mono] Found as '_monodroid_gc_wait_for_bridge_processing'.
[Mono] Assembly Ref addref SheepsheadTHEGame[0x2fd368] -> 
Parse.Android[0x311740]: 2
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped 
to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x428680].
[Mono] Assembly Ref addref Parse.Android[0x311740] -> mscorlib[0x2adb30]: 8
[Mono] Assembly Ref addref Parse.Android[0x311740] -> 
Newtonsoft.Json[0x30c9a8]: 2
[Mono] The request to load the retargetable assembly mscorlib v2.0.5.0 
was remapped to mscorlib v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x428680].
[Mono] Assembly Ref addref Newtonsoft.Json[0x30c9a8] -> 
mscorlib[0x2adb30]: 9
[Mono] The request to load the assembly System v2.0.5.0 was remapped to 
v2.0.0.0
[Mono] Unloading image System.dll [0x5b9e90].
[Mono] Image addref System[0x5bacd8] -> System.dll[0x52f418]: 5
[Mono] Assembly Ref addref Parse.Android[0x311740] -> System[0x5720c8]: 4
[Mono] The request to load the assembly System.Core v2.0.5.0 was 
remapped to v3.5.0.0
[Mono] Unloading image System.Core.dll [0x5dd748].
[Mono] Image addref System.Core[0x5dd7a8] -> System.Core.dll[0x385c20]: 4
[Mono] Assembly Ref addref Parse.Android[0x311740] -> 
System.Core[0x386778]: 3
[Mono] Remapped public key token of retargetable assembly System.Core 
from 7cec85d7bea7798e to b77a5c561934e089
[Mono] The request to load the retargetable assembly System.Core 
v2.0.5.0 was remapped to System.Core v2.0.0.0
[Mono] The request to load the assembly System.Core v2.0.0.0 was 
remapped to v3.5.0.0
[Mono] Unloading image System.Core.dll [0x5e0ad8].
[Mono] Image addref System.Core[0x5e1650] -> System.Core.dll[0x385c20]: 5
[Mono] Assembly Ref addref Newtonsoft.Json[0x30c9a8] -> 
System.Core[0x386778]: 4
[Mono] Assembly Loader probing location: 
'/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.0-branch/3362d6da/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.dll'.
[Mono] Assembly Loader probing location: 
'/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.0-branch/3362d6da/source/monodroid/builds/install/mono-armv7/lib/Parse.Phone.exe'.
[Mono] Assembly Loader probing location: 
'/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.0-branch/3362d6da/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.dll'.
[Mono] Assembly Loader probing location: 
'/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.0-branch/3362d6da/source/monodroid/builds/install/mono-armv7/lib/Parse.WinRT.exe'.
[Mono] Assembly Loader probing location: 
'/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.0-branch/3362d6da/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.dll'.
[Mono] Assembly Loader probing location: 
'/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.0-branch/3362d6da/source/monodroid/builds/install/mono-armv7/lib/Parse.NetFx45.exe'.
[Mono] Assembly Loader probing location: 
'/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.0-branch/3362d6da/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.dll'.
[Mono] Assembly Loader probing location: 
'/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.0-branch/3362d6da/source/monodroid/builds/install/mono-armv7/lib/Parse.iOS.exe'.
[Mono] The request to load the assembly System v2.0.5.0 was remapped to 
v2.0.0.0
[Mono] Unloading image System.dll [0x645d50].
[Mono] Image addref System[0x609558] -> System.dll[0x52f418]: 6
[Mono] Assembly Ref addref System.Core[0x386778] -> System[0x5720c8]: 5
[Mono] Remapped public key token of retargetable assembly System from 
7cec85d7bea7798e to b77a5c561934e089
[Mono] The request to load the retargetable assembly System v2.0.5.0 was 
remapped to System v2.0.0.0
[Mono] Unloading image System.dll [0x668280].
[Mono] Image addref System[0x668be0] -> System.dll[0x52f418]: 7
[Mono] Assembly Ref addref Newtonsoft.Json[0x30c9a8] -> System[0x5720c8]: 6
[Mono] Remapped public key token of retargetable assembly 
System.Runtime.Serialization from 7cec85d7bea7798e to b77a5c561934e089
[Mono] The request to load the retargetable assembly 
System.Runtime.Serialization v2.0.5.0 was remapped to 
System.Runtime.Serialization v2.0.0.0
[Mono] The request to load the assembly System.Runtime.Serialization 
v2.0.0.0 was remapped to v3.0.0.0
[Mono] Image addref System.Runtime.Serialization[0x6fed20] -> 
System.Runtime.Serialization.dll[0x6fd330]: 1
[Mono] Assembly System.Runtime.Serialization[0x6fed20] added to domain 
RootDomain, ref_count=1
[Mono] AOT failed to load AOT module 
System.Runtime.Serialization.dll.so: Cannot load library: 
load_library[1106]: Library 
'/data/data/com.sheepsheadthegame.sheepsheadthegame/lib/System.Runtime.Serialization.dll.so' 
not found
[Mono] Assembly Ref addref Newtonsoft.Json[0x30c9a8] -> 
System.Runtime.Serialization[0x6fed20]: 2
[Mono] The request to load the assembly mscorlib v2.0.5.0 was remapped 
to v2.0.0.0
[Mono] Unloading image mscorlib.dll [0x6f2f70].
[Mono] Assembly Ref addref System.Runtime.Serialization[0x6fed20] -> 
mscorlib[0x2adb30]: 10
Loaded assembly: System.Runtime.Serialization.dll [External]
[Mono] Assembly Ref addref GameLogic[0x302c18] -> Mono.Android[0x3163b0]: 4
Comment 2 Dave 2013-10-29 19:08:22 UTC
I Haven't been able to get a release build for about 3 months now.  I have remove the Parse Component from my existing app.  I have uninstalled the current version of Xamarin and reloaded from the stable base.  All is working well now for my existing app.  My new app will have to wait.  I will download Xamarin Android 4.10.0 when it will reach stable version.  If you can figure any thing out from the above, have at it. Otherwise, you can close the bug.
Comment 3 Jonathan Pryor 2013-11-01 13:53:41 UTC
@Prashant: I don't see any errors in that output; it looks good to me.

@Dave: Unfortunately I have no idea what error you're hitting, nor do I have any good ideas why why you haven't been able to get a Release build for 3 months.

My best guess for this error:

> Could not find SDK platform directory
'C:\Users\druchti\AppData\Local\Android\android-sdk\platforms\android-4'.  Are
--sdk-dir and --sdk-version set appropriately?

is that your $(TargetFrameworkVersion) is set to v1.6 OR you have an AndroidManifest.xml which sets //uses-sdk/@android:targetSdkVersion to "4", either/both of which will cause the build system to look for `C:\Users\druchti\AppData\Local\Android\android-sdk\platforms\android-4\android.jar`, which apparently does not exist.

If this is the case, then either correct your project options to use an Android API level that you do have installed, or open the Android SDK manager and install API-4.
Comment 4 mho 2013-11-17 02:29:33 UTC
Hi,

yesterday i downloaded 4.10.01073 and i have got the same issue (VS 2012 , Win 8.1 64 bit).
My throws a lot of errors on start like this (but the app run).


11-17 08:07:32.228 I/ActivityManager(  525): Start proc AndroidSample for activity AndroidSample/androidsample.Activity1: pid=4917 uid=10101 gids={50101, 3003, 1015, 1028}
11-17 08:07:32.238 D/dalvikvm( 4917): Late-enabling CheckJNI
11-17 08:07:32.278 D/dalvikvm( 4917): Trying to load lib /data/app-lib/AndroidSample-2/libmonodroid.so 0x41df9010
11-17 08:07:32.278 D/dalvikvm( 4917): Added shared lib /data/app-lib/AndroidSample-2/libmonodroid.so 0x41df9010
11-17 08:07:32.288 W/MonoDroid-Debugger( 4917): Not starting the debugger as the timeout value has been reached; current-time: 1384672052  timeout: 1384671532
11-17 08:07:32.309 W/libc    ( 4917): WARNING: generic atexit() called from legacy shared library
11-17 08:07:32.309 D/Mono    ( 4917): Image addref mscorlib[0x72ffab50] -> mscorlib.dll[0x72ff9f80]: 1
11-17 08:07:32.309 D/Mono    ( 4917): AOT failed to load AOT module mscorlib.dll.so: dlopen failed: library "/data/data/AndroidSample/lib/mscorlib.dll.so" not found
11-17 08:07:32.329 D/Mono    ( 4917): GC_MAJOR: (mature allocation failure) pause 0.58ms, total 0.58ms, bridge 0.03ms major 112K/32K los 0K/0K
11-17 08:07:32.329 D/Mono    ( 4917): Assembly mscorlib[0x72ffab50] added to domain RootDomain, ref_count=1
11-17 08:07:32.329 D/Mono    ( 4917): Assembly Loader probing location: '/data/data/AndroidSample/files/.__override__/AndroidSample.dll'.
11-17 08:07:32.329 D/Mono    ( 4917): Image addref AndroidSample[0x76c1ce70] -> /data/data/AndroidSample/files/.__override__/AndroidSample.dll[0x76c1c4a0]: 2
11-17 08:07:32.329 D/Mono    ( 4917): Assembly AndroidSample[0x76c1ce70] added to domain RootDomain, ref_count=1
11-17 08:07:32.329 D/Mono    ( 4917): AOT failed to load AOT module /data/data/AndroidSample/files/.__override__/AndroidSample.dll.so: dlopen failed: library "/data/data/AndroidSample/lib//data/data/AndroidSample/files/.__override__/AndroidSample.dll.so" not found
11-17 08:07:32.329 D/Mono    ( 4917): Assembly Loader loaded assembly from location: '/data/data/AndroidSample/files/.__override__/AndroidSample.dll'.
11-17 08:07:32.329 D/Mono    ( 4917): Config attempting to parse: '/data/data/AndroidSample/files/.__override__/AndroidSample.dll.config'.
11-17 08:07:32.329 D/Mono    ( 4917): Config attempting to parse: '/Users/builder/data/lanes/monodroid-mlion-monodroid-4.10.1-branch/d23a19bf/source/monodroid/builds/install/mono-armv7/etc/mono/assemblies/AndroidSample/AndroidSample.config'.

...

at the end of the list comes:

11-17 08:07:32.389 W/monodroid-gc( 4917): GREF GC Threshold: 46800
11-17 08:07:32.389 D/Mono    ( 4917): Image addref Mono.Android[0x770542c8] -> Mono.Android.dll[0x7704d840]: 1
11-17 08:07:32.389 D/Mono    ( 4917): Assembly Mono.Android[0x770542c8] added to domain RootDomain, ref_count=1
11-17 08:07:32.389 D/Mono    ( 4917): AOT failed to load AOT module Mono.Android.dll.so: dlopen failed: library "/data/data/AndroidSample/lib/Mono.Android.dll.so" not found
11-17 08:07:32.399 W/Mono    ( 4917): The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0
11-17 08:07:32.399 D/Mono    ( 4917): Unloading image mscorlib.dll [0x7706a0d8].
11-17 08:07:32.399 D/Mono    ( 4917): Assembly Ref addref Mono.Android[0x770542c8] -> mscorlib[0x72ffab50]: 2
11-17 08:07:32.409 W/Mono    ( 4917): The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0
11-17 08:07:32.409 D/Mono    ( 4917): Unloading image mscorlib.dll [0x770717e0].
11-17 08:07:32.409 D/Mono    ( 4917): Assembly Ref addref Mono.Android.Support.v4[0x76c209c0] -> mscorlib[0x72ffab50]: 3
11-17 08:07:32.409 D/Mono    ( 4917): Assembly Ref addref Mono.Android.Support.v4[0x76c209c0] -> Mono.Android[0x770542c8]: 2
11-17 08:07:32.419 D/Mono    ( 4917): DllImport attempting to load: '/system/lib/liblog.so'.
11-17 08:07:32.419 D/Mono    ( 4917): DllImport loaded library '/system/lib/liblog.so'.
11-17 08:07:32.419 D/Mono    ( 4917): DllImport searching in: '/system/lib/liblog.so' ('/system/lib/liblog.so').
11-17 08:07:32.419 D/Mono    ( 4917): Searching for '__android_log_print'.
11-17 08:07:32.419 D/Mono    ( 4917): Probing '__android_log_print'.
11-17 08:07:32.419 D/Mono    ( 4917): Found as '__android_log_print'.
11-17 08:07:32.459 W/Mono    ( 4917): The request to load the assembly System.Core v2.0.5.0 was remapped to v3.5.0.0
11-17 08:07:32.469 D/Mono    ( 4917): Image addref System.Core[0x770d43c8] -> System.Core.dll[0x770c1c18]: 1
11-17 08:07:32.469 D/Mono    ( 4917): Assembly System.Core[0x770d43c8] added to domain RootDomain, ref_count=1
11-17 08:07:32.469 D/Mono    ( 4917): AOT failed to load AOT module System.Core.dll.so: dlopen failed: library "/data/data/AndroidSample/lib/System.Core.dll.so" not found
11-17 08:07:32.469 D/Mono    ( 4917): Assembly Ref addref Mono.Android[0x770542c8] -> System.Core[0x770d43c8]: 2
11-17 08:07:32.469 W/Mono    ( 4917): The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0
11-17 08:07:32.469 D/Mono    ( 4917): Unloading image mscorlib.dll [0x770d6280].
11-17 08:07:32.469 D/Mono    ( 4917): Assembly Ref addref System.Core[0x770d43c8] -> mscorlib[0x72ffab50]: 4
11-17 08:07:32.479 D/Mono    ( 4917): Assembly Ref addref AndroidSample[0x76c1ce70] -> Mono.Android.Support.v4[0x76c209c0]: 2
11-17 08:07:32.529 D/Mono    ( 4917): Assembly Ref addref AndroidSample[0x76c1ce70] -> Mono.Android[0x770542c8]: 3
11-17 08:07:32.729 D/Mono    ( 4917): DllImport attempting to load: '__Internal'.
11-17 08:07:32.729 D/Mono    ( 4917): DllImport loaded library '(null)'.
11-17 08:07:32.729 D/Mono    ( 4917): DllImport searching in: '__Internal' ('(null)').
11-17 08:07:32.729 D/Mono    ( 4917): Searching for '_monodroid_gc_wait_for_bridge_processing'.
11-17 08:07:32.729 D/Mono    ( 4917): Probing '_monodroid_gc_wait_for_bridge_processing'.
11-17 08:07:32.729 D/Mono    ( 4917): Found as '_monodroid_gc_wait_for_bridge_processing'.
11-17 08:07:32.749 D/Mono    ( 4917): DllImport searching in: '__Internal' ('(null)').
11-17 08:07:32.749 D/Mono    ( 4917): Searching for '_monodroid_get_identity_hash_code'.
11-17 08:07:32.749 D/Mono    ( 4917): Probing '_monodroid_get_identity_hash_code'.
11-17 08:07:32.749 D/Mono    ( 4917): Found as '_monodroid_get_identity_hash_code'.
11-17 08:07:32.829 D/Mono    ( 4917): Assembly Ref addref AndroidSample[0x76c1ce70] -> Android[0x76c1f1c0]: 2
11-17 08:07:32.829 D/Mono    ( 4917): Assembly Ref addref Android[0x76c1f1c0] -> Mono.Android.Support.v4[0x76c209c0]: 3
11-17 08:07:32.829 D/Mono    ( 4917): Assembly Ref addref Android[0x76c1f1c0] -> Mono.Android[0x770542c8]: 4
11-17 08:07:32.829 W/Mono    ( 4917): The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0
11-17 08:07:32.829 D/Mono    ( 4917): Unloading image mscorlib.dll [0x77156868].
11-17 08:07:32.829 D/Mono    ( 4917): Assembly Ref addref Android[0x76c1f1c0] -> mscorlib[0x72ffab50]: 5
11-17 08:07:32.829 D/Mono    ( 4917): Assembly Ref addref Android[0x76c1f1c0] -> Semantico.App[0x76c22d80]: 2
11-17 08:07:32.829 W/Mono    ( 4917): The request to load the assembly mscorlib v2.0.5.0 was remapped to v2.0.0.0
11-17 08:07:32.829 D/Mono    ( 4917): Unloading image mscorlib.dll [0x771ad910].
11-17 08:07:32.829 D/Mono    ( 4917): Assembly Ref addref AndroidSample[0x76c1ce70] -> mscorlib[0x72ffab50]: 6
11-17 08:07:32.839 D/Mono    ( 4917): DllImport searching in: '__Internal' ('(null)').
11-17 08:07:32.839 D/Mono    ( 4917): Searching for '_monodroid_gref_inc'.
11-17 08:07:32.839 D/Mono    ( 4917): Probing '_monodroid_gref_inc'.
11-17 08:07:32.839 D/Mono    ( 4917): Found as '_monodroid_gref_inc'.
11-17 08:07:32.839 D/Mono    ( 4917): DllImport searching in: '__Internal' ('(null)').
11-17 08:07:32.839 D/Mono    ( 4917): Searching for '_monodroid_gref_log_new'.
11-17 08:07:32.839 D/Mono    ( 4917): Probing '_monodroid_gref_log_new'.
11-17 08:07:32.839 D/Mono    ( 4917): Found as '_monodroid_gref_log_new'.
11-17 08:07:32.849 W/Mono    ( 4917): The request to load the assembly System v2.0.5.0 was remapped to v2.0.0.0

...

I have no idea what is going wrong. With 4.0.8 everything works fine for me.

greetings form germany
Markus