【问题标题】:OzekiSDK not working on AndroidOzekiSDK 无法在 Android 上运行
【发布时间】:2016-04-01 09:54:40
【问题描述】:

这是我将 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

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

【问题讨论】:

    标签: visual-studio xamarin ozeki


    【解决方案1】:

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

    【讨论】:

    猜你喜欢
    • 2020-01-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-05-21
    • 1970-01-01
    • 2013-04-19
    • 1970-01-01
    相关资源
    最近更新 更多