You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
Attribute application@theme value=(@style/ScryptedTheme) from AndroidManifest.xml:37:9-45
is also present at [com.arthenica:mobile-ffmpeg-https:4.2.LTS] AndroidManifest.xml:17:9-40 value=(@style/AppTheme).
Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest.xml:31:5-95:19 to override.
Expected behavior
The library works out of the box.
Thanks, this huge piece of **** cost me several hours. I didn't actually encounter the build error described here. Instead, I was using the new MaterialComponents theme under a custom theme, which happened to be also named AppTheme. When it has the same name, Android may randomly switch to use the AppTheme defined by the FFmpeg library, which results in java.lang.IllegalArgumentException: This component requires that you specify a valid TextAppearance attribute. Update your app theme to inherit from Theme.MaterialComponents (or a descendant).
Temporary solution: Rename your custom app theme until this change is live. Then the build error described above appears, which you can fix using the suggested tools:replace="android:theme".
Description
Expected behavior
The library works out of the box.
Current behavior
The above build error.
Environment
Fix:
Just remove this line:
https://github.com/tanersener/mobile-ffmpeg/blob/master/android/app/src/main/AndroidManifest.xml#L6
Ideally the FFmpeg Library manifest should be empty.
The text was updated successfully, but these errors were encountered: