Android MVVM跨java.lang.ClassNotFoundException:Mvx.MvxListView

Android MVVM跨java.lang.ClassNotFoundException:Mvx.MvxListView,android,xamarin,xamarin.android,mvvmcross,Android,Xamarin,Xamarin.android,Mvvmcross,我尝试添加一个带有MvxListView和绑定的片段。我使用的是v4.0.0.0 beta2 这是布局图: <?xml version="1.0" encoding="utf-8"?> <Mvx.MvxListView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:local="http://schemas.android.com/apk/res-auto" andro

我尝试添加一个带有MvxListView和绑定的片段。我使用的是v4.0.0.0 beta2

这是布局图:

<?xml version="1.0" encoding="utf-8"?>
<Mvx.MvxListView 
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:local="http://schemas.android.com/apk/res-auto"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    local:MvxItemTemplate="@layout/accountlistitem"
    local:MvxBind="ItemsSource AllAccounts;ItemClick OpenOverviewCommand" />
以及我如何在主活动中加载片段:

var fragmenTransaction = SupportFragmentManager.BeginTransaction();
fragmenTransaction.Add(Resource.Id.content_pane, accountListFragment);
fragmenTransaction.Commit();
此处显示错误消息:

08-28 00:28:40.783 I/单机器人(4281):抑制: java.lang.ClassNotFoundException:Mvx.MvxListView 08-28 00:28:40.783 I/MonoDroid(4281):位于java.lang.Class.classForName(本机方法) 08-28 00:28:40.783 I/单机器人(4281):在 findClass(ClassLoader.java:781)08-28 00:28:40.783 I/单机器人(4281):在 loadClass(ClassLoader.java:841)08-28 00:28:40.783 I/单机器人(4281):在 loadClass(ClassLoader.java:504)08-28 00:28:40.783 I/单机器人(4281):。。。29更多08-28 00:28:40.783 I/MonoDroid(4281):由以下原因引起:java.lang.NoClassDefFoundError:Class 使用引导类加载程序找不到;没有可用的堆栈

可以找到GitHub存储库


我错过了什么?我与另一个具有工作MvxListView的项目进行了检查,但没有发现任何差异…

尝试使用控件全名:

<?xml version="1.0" encoding="utf-8"?>
      <cirrious.mvvmcross.binding.droid.views.MvxListView
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:local="http://schemas.android.com/apk/res-auto"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:orientation="vertical"
        local:MvxItemTemplate="@layout/accountlistitem"
        local:MvxBind="ItemsSource AllAccounts;ItemClick OpenOverviewCommand" />

<?xml version="1.0" encoding="utf-8"?>
      <cirrious.mvvmcross.binding.droid.views.MvxListView
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:local="http://schemas.android.com/apk/res-auto"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:orientation="vertical"
        local:MvxItemTemplate="@layout/accountlistitem"
        local:MvxBind="ItemsSource AllAccounts;ItemClick OpenOverviewCommand" />