Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specif...
解决
implementation 'androidx.work:work-runtime-ktx:2.7.1'
对应Kotlin版本
ext.kotlin_version = '1.6.0'
implementation 'androidx.work:work-runtime-ktx:2.7.1'
对应Kotlin版本
ext.kotlin_version = '1.6.0'