android - RecyclerView ClassNotFound -
I tried to add Recycle Viv and Cardvive to my project
Dependency {compile 'Com Android.support:appcompat- v7: 21.0.0' compile 'com.android.support:support-v13:21.0.0' compile 'com.android.support:cardview-v7:21.0.0' compile 'com .android Support: recyclable-V7: 21.0.0 'compile' com. Virapreindicator: Library: 2.4.1 @ AR 'compile project (': Facebook ')} It compiles, but exceptions should be found on the device I got it > by: java.lang.ClassNotFoundException: "android.view.RescyclerView" class on the path was not found: DexPathList [[zip file "/ data / jav.lang at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:56), the original library directory = [/ data / app-lib / xxxx, / vendor / lib, / system / lib]] ap / xxxx.apk "] Java.lang.ClassLoader.loadClass (classloader .j Clasloder on android.view.LayoutInflater.createView on or 457). Load class (Classloader.javaike 97) on Android.view.LayoutInflater.onCreateView (LayoutInflater.java:652)
<> Problems with your layout
& lt; RecycleView ...
& lt; Android.support.v7.widget.RecyclerView ...
If you create a recycler visual program - make sure you have the proper import:
Import android.support.v7.widget.RecyclerView;
Comments
Post a Comment