我按照所有说明进行操作,安装成功。在 MonoDevelop 中,我去:
New Solution -> C# -> Mono for Android -> Mono for Android Application
,就像它说的那样。当我去构建它时,MonoDevelop 抛出一个错误,说:
C:\Users\[NAME]\Documents\Android\HelloAndroid1\HelloAndroid1\HelloAndroid1.csproj: Error: C:\Program Files (x86)\Mono-2.10.8\lib\mono\xbuild\Novell\Novell.MonoDroid.CSharp.targets: Project file could not be imported, it was being imported by C:\Users\[NAME]\Documents\Android\HelloAndroid1\HelloAndroid1\HelloAndroid1.csproj: Imported project: "C:\Program Files (x86)\Mono-2.10.8\lib\mono\xbuild\Novell\Novell.MonoDroid.CSharp.targets" does not exist. (HelloAndroid1)
另外,在References下,“Mono.Android”有错误,说,
Assembly not available for Android 2.2 (Froyo) (in Mono 2.10.8 (C:\Program Files (x86)\Mono-2.10.8))
.
我该如何解决?卸载和重新安装没有帮助。