Open alexeyvasilyev opened 7 years ago
Did you try 'Clean Project' ?
Yes, of cause.
The FileListerDialog depends on various libraries specified in the Readme section. Double check if you have imported all of those.
Can you make a sample project how your library works and put it in app directory?
try adding all these in your app module's build.gradle
dependencies { implementation 'com.android.support:appcompat-v7:26.0.0-beta2' implementation 'com.android.support:design:26.0.0-beta2' implementation 'com.android.support:recyclerview-v7:26.0.0-beta2' implementation 'yogesh.firzen:MukkiyaSevaigal:1.0.6' }
I'll try to put up a sample soon
I got this error message too. And I've been tried to add dependencies @FirzenYogesh suggested implementation 'yogesh.firzen:MukkiyaSevaigal:1.0.6'
But got nothing!
Please tell me how to solve
Adding compile 'yogesh.firzen:MukkiyaSevaigal:1.0.6'
to the app level build.gradle
solves the problem for me.
Hi. i have this problem too. when i want to choose directory everything is ok. but when i want to choose file this crash happens!
Hi, I have a problem. When I choose directory, it's OK. But when choosing file, app crashed. Please check this error.
06-30 18:01:51.486 27500-27500/com.aurora.tag.tool E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.aurora.tag.tool, PID: 27500
java.lang.NoClassDefFoundError: org.apache.commons.io.FilenameUtils
at yogesh.firzen.mukkiasevaigal.S.isImage(S.java:359)
at yogesh.firzen.mukkiasevaigal.S.isImage(S.java:370)
at yogesh.firzen.filelister.FileListerAdapter.onBindViewHolder(FileListAdapter.java:203)
at yogesh.firzen.filelister.FileListerAdapter.onBindViewHolder(FileListAdapter.java:30)
at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:6474)
at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:6507)
at android.support.v7.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:5450)
at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5716)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5555)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5551)
at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2211)
at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1538)
at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1498)
at android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1312)
at android.support.v7.widget.LinearLayoutManager.scrollVerticallyBy(LinearLayoutManager.java:1057)
at android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:4836)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:788)
at android.view.Choreographer.doCallbacks(Choreographer.java:591)
at android.view.Choreographer.doFrame(Choreographer.java:559)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5310)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:835)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:651)
at dalvik.system.NativeStart.main(Native Method)
Please kindly reply.
@xupeng72083 did you add this line in your gradle file?
implementation 'org.apache.commons:commons-io:1.3.2'
Getting a crash on FileListerDialog open.
Full error stack: