Firstly forgive me for being New to Mac and Mono/C#, I know I'm not the ideal
user for this situation but I am an experienced C developer and I have
considerable experience setting up development environments for various
embedded devices.

I have followed (to the letter) the instructions for installing MonoDroid on
the Mac and am coming up on issues when I try to build the MonoCross demo
for the Android emulator.

Mostly seems to be issues between MonoDroid and MonoDevelop, When I load the
MonoCross project in MonoDevelop I get the following error message:
System.NullReferenceException: Object reference not set to an instance of an
object
  at MonoDevelop.MonoDroid.PublishApplicationHandler.Update
(MonoDevelop.Components.Commands.CommandInfo info) [0x00011] in
/Users/michael/Mono/md-2-6/extras/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/MonoDroidCommands.cs:223
 
  at MonoDevelop.Components.Commands.CommandHandler.InternalUpdate
(MonoDevelop.Components.Commands.CommandInfo info) [0x00000] in
/Users/michael/Mono/md-2-6/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:47
 
  at MonoDevelop.Components.Commands.CommandManager.DefaultUpdateCommandInfo
(MonoDevelop.Components.Commands.ActionCommand cmd,
MonoDevelop.Components.Commands.CommandInfo info) [0x00079] in
/Users/michael/Mono/md-2-6/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:781
 
  at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo
(System.Object commandId, MonoDevelop.Components.Commands.CommandTargetRoute
targetRoute) [0x001a9] in
/Users/michael/Mono/md-2-6/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:747
 


My first confusion is with all the references to "/User/michael", since this
directory is invalid and I have never entered "michael" into the system, so
I'm assuming there's some left over user specific script somewhere?

After the error message goes away I can build the project with no issues,
however when I hover over the "Run on" option to expand it and run on the
emulator I get a similar error and MonoDevelop will crash shortly after.

I am using the latest (2.6) beta for MonoDevelop and the versions of all the
software are within what the setup page demands. I'm doing preliminary work
for a company that is contemplating using this on a project very soon so
whether we use (and pay for) MonoDroid or another approach depends heavily
on whether we can get it running reliably.

Thanks for reading,
Ben Brewer (CodeThink)

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/MonoDroid-Mac-Setup-tp4669373p4669373.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to