我已经通过Nuget将Realm安装到我的Xamarin PCL和我的Android项目中,当我尝试运行任何一行Realm代码时,我得到了以下异常:
System.PlatformNotSupportedException: The PCL build of Realm is being linked which probably means you need to use NuGet or otherwise linka platform-specific Realm.dll to y
realm; { this.realm = Realm.GetInstanceSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.PlatformNotSupportedExceptionI/MonoDroi
我正在尝试使用Xamarin.Android单元测试项目对我的Realm (1.1.0)实现进行单元测试,因为我无法对PCL库进行单元测试。当我调用我得到以下错误:
Fail [FAIL] : System.PlatformNotSupportedException : TheRealm.dll to your main application.\packages\Realm.Database.1.1.0\l
我正试图在一个较小的Xamarin/Mvvmcross/iOS/Droid项目上实现领域,以测试其替换SQLite的能力。我让它在iOS项目上运行得很好,但是在尝试调用Realm.GetInstance()时,在Droid项目上得到异常;内部异常System.Reflection.ReflectionTypeLoadException但是,如果我首先从一个正常的Droid活动中调用var db = Realm.GetInstance(
我正在从事针对iOS/Droid/UWP的Xamarin表单项目。我们正在以一种反应性的方式构建应用程序,并使用直接模型绑定。public string Name { get; set; } // Learn more about making custom code visible in the Xamarin.Forms= Realm.GetInstance(Path.Combine(LocalPath, "RealmSample.realm&quo
我是realm的新手,在保存嵌套对象时遇到了很多问题。我可以保存父母,但我得到了一个写着Cannot start to manage an object with a realm when it's already managed by another realm= Realm.GetInstance( config );。realm.Write( () => realm.Add( transaction, update: true ) );
foreach ( var