a914-gowtham / android-video-trimmer

Helps to trim local videos with compress option on Android applications using Exoplayer 2 and FFmpeg.
Other
380 stars 117 forks source link

cannot find symbol import com.gowtham.library.utils.TrimmerConstants; #10

Closed alapputatunda closed 4 years ago

alapputatunda commented 4 years ago

Why I am getting this while building my project? Please help me!

a914-gowtham commented 4 years ago

I have updated the library.use the latest version implementation 'com.github.a914-gowtham:Android-video-trimmer:1.4.0'. Use this snippet to Open Trimming Activity TrimVideo.activity(String.valueOf(videoUri)) .start(this);

Getting Result from your Activity @Override public void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == TrimVideo.VIDEO_TRIMMER_REQ_CODE && data != null) { Uri uri = Uri.parse(TrimVideo.getTrimmedVideoPath(data)); Log.d(TAG,"Trimmed path:: "+uri); } }

I've updated the Readme for the latest version.take a look at that for using customization

VIVEKCODEXP commented 2 years ago

I am getting an unresolved reference "import com.gowtham.library.utils.TrimVideo" on main activity. I have tried the latest version as well as 1.7.0 - 1.7.1 and 1.4.0 as well and build all of them successfully but cant import the TrimVideo in my main activity. Is it something that I am not doing correctly?