trinity icon indicating copy to clipboard operation
trinity copied to clipboard

Unresolved reference: deleteEffect, addEffect

Open pradniva opened this issue 4 years ago • 6 comments

When I'm trying build the sample code with the dependency implementation 'com.github.wlanjie:trinity:0.2.9.1' showing me below error: C:\Users\rimpa\Desktop\Trinity Video editor\app\src\main\java\com\trinity\sample\RecordActivity.kt: (216, 21): Unresolved reference: deleteEffect

When I digged about this the library folder contains the reference but the dependency isn't. Is there any update available for the dependency or we've to create our own face mask?

pradniva avatar Jul 17 '20 06:07 pradniva

0.2.9.1 using addAciton and deleteAction, after change to addEffect and deleteEffect

wlanjie avatar Jul 17 '20 07:07 wlanjie

you're saying that i change the addEffect to addAction?

pradniva avatar Jul 17 '20 07:07 pradniva

yes, after commit version changed addAction to addEffect

wlanjie avatar Jul 17 '20 07:07 wlanjie

Showing this error on build: File: RecordActivity--

Type mismatch: inferred type is VideoExportInfo but String was expected  
No value passed for parameter 'height'  
No value passed for parameter 'videoBitRate'  
No value passed for parameter 'frameRate'  
No value passed for parameter 'useHardWareEncode'  
No value passed for parameter 'audioSampleRate'  
No value passed for parameter 'audioChannel'  
No value passed for parameter 'audioBitRate'  
No value passed for parameter 'duration'  

pradniva avatar Jul 17 '20 07:07 pradniva

@wlanjie here is the file: app\src\main\java\com\trinity\sample\RecordActivity.kt: (454, 49): No value passed for parameter 'height'

Are you going to update the library soon? the github library files are different than the build dependency library

pradniva avatar Jul 17 '20 07:07 pradniva

You can use 0.2.9.1 tag code

wlanjie avatar Jul 17 '20 08:07 wlanjie