[mono-android] Any ideas on this error
Jonathan Pryor
jonp at xamarin.com
Fri Oct 26 16:17:44 UTC 2012
On Oct 26, 2012, at 11:53 AM, Paul Johnson <paul at all-the-johnsons.co.uk> wrote:
> I've just updated to 4.2.8 on my mac. When I tried to compile, it gave me this error
>
> Error initializing task CheckDuplicateJavaLibraries: Not registered task CheckDuplicateJavaLibraries.
That sounds very odd.
First, diagnosis:
$ cd /Library/Frameworks/Mono.framework/External/xbuild/Novell
$ grep -l CheckDuplicateJava *
Novell.MonoDroid.Build.Tasks.dll
Novell.MonoDroid.Common.targets
Do you see the same?
If you don't see CheckDuplicateJava matches in Novell.MonoDroid.Build.Tasks.dll and Novell.MonoDroid.Common.targets, then try:
$ cd /Library/Frameworks/Mono.framework/External
$ sudo unzip -o /Developer/MonoAndroid/usr/share/External.zip
Then re-run the original grep command.
Thanks,
- Jon
More information about the Monodroid
mailing list