FilePicker icon indicating copy to clipboard operation
FilePicker copied to clipboard

App Crash on Android R using simulator

Open rahul4452 opened this issue 4 years ago • 1 comments

Error Trace

2020-08-03 00:55:28.614 17556-17594/com.jaiselrahman.filepickersample E/AndroidRuntime: FATAL EXCEPTION: arch_disk_io_3 Process: com.jaiselrahman.filepickersample, PID: 17556 java.lang.IllegalArgumentException: Invalid token LIMIT at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:172) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142) at android.content.ContentProviderProxy.query(ContentProviderNative.java:472) at android.content.ContentResolver.query(ContentResolver.java:1183) at android.content.ContentResolver.query(ContentResolver.java:1115) at androidx.core.content.ContentResolverCompat.query(ContentResolverCompat.java:81) at com.jaiselrahman.filepicker.model.MediaFileDataSource.getMediaFiles(MediaFileDataSource.java:160) at com.jaiselrahman.filepicker.model.MediaFileDataSource.loadInitial(MediaFileDataSource.java:151) at androidx.paging.PositionalDataSource.dispatchLoadInitial(PositionalDataSource.java:286) at androidx.paging.PositionalDataSource$ContiguousWithoutPlaceholdersWrapper.dispatchLoadInitial(PositionalDataSource.java:527) at androidx.paging.PositionalDataSource$ContiguousWithoutPlaceholdersWrapper.dispatchLoadInitial(PositionalDataSource.java:459) at androidx.paging.ContiguousPagedList.(ContiguousPagedList.java:175) at androidx.paging.PagedList.create(PagedList.java:216) at androidx.paging.PagedList$Builder.build(PagedList.java:388) at androidx.paging.LivePagedListBuilder$1.compute(LivePagedListBuilder.java:206) at androidx.paging.LivePagedListBuilder$1.compute(LivePagedListBuilder.java:171) at androidx.lifecycle.ComputableLiveData$2.run(ComputableLiveData.java:101) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:923)

To Reproduce I've been trying to get a file but the app crashes.

Android info:

  • Emulator
  • Android R

rahul4452 avatar Aug 02 '20 19:08 rahul4452

I face this problem as well, and no clue on error "Invalid token LIMIT". It seems this param is correct. I think this is due to scoped storage but I don't know how to solve it.

and also, is this library not maintaining anymore? @jaiselrahman

WenLonG12345 avatar Jan 25 '21 02:01 WenLonG12345