danoz73 / RecyclerViewFastScroller

A Fast Scroller for the RecyclerView world!
Other
1.13k stars 211 forks source link

java.lang.NoClassDefFoundError: Failed resolution of: Lxyz/danoz/recyclerviewfastscroller/R$styleable; #59

Open kienntk opened 8 years ago

kienntk commented 8 years ago

I got this error when using this library:

05-27 00:09:02.547: E/AndroidRuntime(3145): java.lang.NoClassDefFoundError: Failed resolution of: Lxyz/danoz/recyclerviewfastscroller/R$styleable;

Here is my layout: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res/com.android.eventcountdown" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:splitMotionEvents="false" >

<android.support.v7.widget.RecyclerView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/rv_list_events"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:layout_behavior="@string/appbar_scrolling_view_behavior" />

<xyz.danoz.recyclerviewfastscroller.vertical.VerticalRecyclerViewFastScroller
  android:id="@+id/fast_scroller"
  android:layout_width="100dp"
  android:layout_height="match_parent"
  />