Closed sanderschnydrig closed 2 years ago
I tried that but I'm getting
resultPendingIntent = PendingIntent.getActivity(context, 0, resultIntent, PendingIntent.FLAG_MUTABLE);
^
symbol: variable FLAG_MUTABLE
location: class PendingIntent
build error during gradle build process
@FloryanFilip make sure you explicitly set the version ($androidxAppCompatVersion in my case) to 1.2.0, other than that I have no idea how to solve it in your case.
dependencies {
implementation("androidx.appcompat:appcompat:1.2.0") {
force = true
}
}
@sanderschnydrig @FloryanFilip if problem will be still active after updating latest version tell me and i will change appcompat version in code.
I'm using Angular 12 with Capacitor and this Plugin, set the compileSdkVersion and targetSdkVersion to 31 in variables.gradle (I prefer not to put them to 31 as this can cause a lot of issues down the line). When I start the app on Android I get this error:
I solved it by reverting back to API level 30 instead of 31 and forcing the androidx.appcompat dependency to version 1.2.0 (instead of 1.4.2 that will be picked otherwise):
in your app/build.gradle: