iknow4x / 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.
Apache License 2.0
1.09k stars 262 forks source link

crash on launch when using in my app #8

Closed devingDev closed 6 years ago

devingDev commented 6 years ago

` Process: testing.com.vidtrimporttest, PID: 25187 java.lang.ExceptionInInitializerError at testing.com.vidtrimporttest.trimmerlib.utils.TrimVideoUtil.getAllVideoFiles(TrimVideoUtil.java) at testing.com.vidtrimporttest.trimmerlib.VideoSelectActivity.onCreate(VideoSelectActivity.java:35)

`

FULL LOG : https://hastebin.com/kufenagito.sql

I added your files (xml / gradle stuff / classes) to my project and it builds but on launch (first activity is the .trimmerlib.VideoSelectActivity)

i didn't change anything else than imports to make them work in my project.

devingDev commented 6 years ago

All clear. Forgot to add this in AndroidManifest.xml

https://github.com/iknow4/Android-Video-Trimmer/blob/848f88709825395a2ef9a3f00b3f73687950d540/app/src/main/AndroidManifest.xml#L7