I'm facing the above error on my app, developed with React Native and builded with Expo and gradlew. Tried some of the solutions available on internet, like:
dependencies {
// ...
implementation 'androidx.work:work-runtime-ktx:2.7.0'
}
But it doesn´t work...
Tried a bunch of solutions, some displayed on this topic: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified