1

这是我将 OzekiSDK 添加到项目引用时遇到的错误:

Error 1 Exception while loading assemblies: 
System.IO.FileNotFoundException: 
Could not load assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. 
Perhaps it doesn't exist in the Mono for Android profile?
File name: 'System.Windows.Forms.dll'
at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.Execute() SIPPHONE2

是什么导致了这个错误,我该如何纠正它?

4

1 回答 1

1

System.Windows.Forms在 Xamarin.Android 上不可用,因此无法使用此 SDK,因为它似乎面向 Windows 桌面应用程序。

于 2016-04-01T10:28:54.320 回答