English 中文(简体)
Mono for Android未出现在MonoDevelop选项中
原标题:Mono for Android not appearing in the MonoDevelop options

我已经按照Windows安装页面上的说明安装了Android版Mono和MonoDevelop。(http://mono-android.net/Installation/Windows)。但是,“Mono for Android SDK”选项不会出现在选项对话框中。

我已经重新安装了MonoDevelop 2.6.3测试版,但运气不好。以前有人见过这个问题吗?

Update:

找到了。我不得不重新加载存储库,它们最初没有出现。。。但是,现在我在尝试访问选项时出现了一个异常:

System.Reflection.TargetInvocationException:调用的目标引发了异常--->;System.IO.FileNotFoundException:无法加载文件或程序集Mono.Posix,版本=4.0.0.0,区域性=中性,PublicKeyToken=0738eb9f132ed756或其依赖项之一。系统找不到指定的文件。

问题回答

问题是GTK#运行库只有文件Mono.Posix.dll的2.0.0.0版本。我已经使用测试版完成了安装,但仍然面临这个问题。如果我能拿到Mono.Posix.dll 4.0.0.0版本就好了,我可以试着替换GTK#安装目录中的那个文件,看看会发生什么。

更新:如果安装http://mono.ximian.com/monobuild/preview/archive/2.10.2/windows-installer/5/mono-2.10.2-gtksharp-2.12.10-win32-5.exe并将Mono.Posix.dll从安装的目录复制到插件文件夹

从C:程序文件Mono-210.2libmono4.0Mono.Posix.dll复制

粘贴到C:UsersYOUR_LOGONAppDataLocalMonoDevelop-2.6AddinsMonoDevelop.MonoAndroid.2.6.4

为我工作。

有一个新版本的Mono Android插件2.6.5.3,它修复了这个问题。它在Beta频道的加载项管理器中可用(默认情况下应启用),因此如果刷新更新列表,您应该会看到它。

加载项的发行说明如下:http://android.xamarin.com/Releases/MfA_Addin/2.6.5.3





相关问题
Why running a service as Local System is bad on windows?

I am trying to find out the difference between difference service account types. I tumbled upon this question. The answer was because it has powerful access to local resources, and Network Service ...

Programmatically detect Windows cluster configuration?

Does anyone know how to programatically detect that a Windows server is part of a cluster? Further, is it possible to detect that the server is the active or passive node? [Edit] And detect it from ...

get file icon for Outlook appointment (.msg)

I ve read Get File Icon used by Shell and the other similar posts - and already use SHFileInfo to get the associated icon for any given extension, and that works great. However, Outlook uses ".msg" ...

Identifying idle state on a windows machine

I know about the GetLastInputInfo method but that would only give me the duration since last user input - keyboard or mouse. If a user input was last received 10 minutes ago, that wouldn t mean the ...

Terminating a thread gracefully not using TerminateThread()

My application creates a thread and that runs in the background all the time. I can only terminate the thread manually, not from within the thread callback function. At the moment I am using ...

热门标签