I'm writing an app in Kotlin, using an Android 9 device for debugging, and when I try to load the ffmpeg executable the onPostExecute method of the FFmpegLoadLibraryAsyncTask never gets called for unknown reasons.
I have set up breakpoints here and there and I see that the doInBackground method is executed as expected and it must be returning true at the end (return ffmpegFile.exists() && ffmpegFile.canExecute() since both of these are true), but then the onPostExecute method of the AsyncTask is never called and so my own FFmpegLoadBinaryResponseHandler callbacks that should be called from there aren't neither.
Any ideas on how to fix this?
I'm thinking that maybe something to do with using Kotlin, since I'm using this same library in other project with Java and running it in the same phone works as expected.
Hi,
I'm writing an app in Kotlin, using an Android 9 device for debugging, and when I try to load the ffmpeg executable the onPostExecute method of the FFmpegLoadLibraryAsyncTask never gets called for unknown reasons.
I have set up breakpoints here and there and I see that the doInBackground method is executed as expected and it must be returning true at the end (return ffmpegFile.exists() && ffmpegFile.canExecute() since both of these are true), but then the onPostExecute method of the AsyncTask is never called and so my own FFmpegLoadBinaryResponseHandler callbacks that should be called from there aren't neither.
Any ideas on how to fix this?
I'm thinking that maybe something to do with using Kotlin, since I'm using this same library in other project with Java and running it in the same phone works as expected.
Thanks, Fran