iknow4 / Android-Video-Trimmer

The Android-Video-Trimmer project implements the selection of clips for long and short videos. It uses MediaMetadataRetriever to obtain video frames, and uses ffmpeg for video cropping and video compression.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not showing Video List after compiling

nerviantone opened this issue · comments

When the app starts it's not showing the video list but just some empty tables without video content. But when run on emulator its working fine #
Screenshot_20221021-003026_Video Trim

i think the problem is inside the file java/com/iknow/android/features/select/VideoSelectAdapter.java inside the liine " final String path = cursor.getString(cursor.getColumnIndex(MediaStore.Video.Media.DATA)); " . I think this line is not returning the path. Kindly help.

Happy to tell you that this problem got solved when I lowered the compileSdkVersion to 28, minSdkVersion 16
targetSdkVersion 26

Happy to tell you that this problem got solved when I lowered the compileSdkVersion to 28, minSdkVersion 16 targetSdkVersion 26

OK,but i wonder what is your compileSdkVersion & minSdkVersion version before you lower them?

compileSdkVersion 31, minSdkVersion 16, targetSdkVersion 31

commented

I have same question, finally resolved after lower some versions as nerviantone said.