israel-fl / bitmap2video

Generate video from Image resources, Bitmaps or a Canvas. Allows for audio multiplexing.
Apache License 2.0
91 stars 29 forks source link

Build failed, Theme.MaterialComponents.DayNight not found #16

Open HeroSony opened 3 years ago

HeroSony commented 3 years ago

Build failed and produces the error:

AAPT: error: resource style/Theme.MaterialComponents.DayNight (aka com.israelfl.bitmap2video:style/Theme.MaterialComponents.DayNight) not found.
error: failed linking references.
takashi1975 commented 3 years ago

https://stackoverflow.com/questions/59495906/theme-materialcomponents-daynight-not-found

build.gradle (app) set

implementation 'com.google.android.material:material:1.2.0-alpha03'

I can run. but ... [Make it] Click to crash ...

MainActivity.kt - basicVideoCreation ... 2 work is crash. (createVideo or createVideoAsync comment) https://github.com/israel-fl/bitmap2video/blob/f51c404aed29e5f7043144a2ddc738f51b589d21/app/src/main/java/com/homesoft/bitmap2video/MainActivity.kt#L113-L115