yausername / youtubedl-android

youtube-dl for android
GNU General Public License v3.0
947 stars 172 forks source link

library "libavdevice.so" not found: needed by main executable #228

Closed mehul4795 closed 1 year ago

mehul4795 commented 1 year ago

I am using the latest version 4f00394 of the library. After updating the Android Studio to Flamingo, most of the downloads have started to fail. The download fails after the whole video and audio are downloaded and the merging is happening.

mehul4795 commented 1 year ago

As mentioned in one of the similar issues created earlier, I forgot to initialize the FFmpeg. Initializing it in the application class as shown below solved the error.

FFmpeg.getInstance().init(this)