-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution failed for task ':react-native-nfc-manager:compileDebugJavaWithJavac'. #469
Comments
@Monisha-Raju thanks for spotting this! To fix this, please update your
The reason for this is because Android puts new limitation on PendingIntent:
So we have to do this in-order to support Android 12. |
@whitedogg13 - Changing compileSdkVersion to 31 resolved the 'FLAG_MUTABLE' issue, But it is throwing error in the java compiler. The source and target compatibility is JavaVersion.VERSION_1_8. Do you have any suggestion for this issue? |
I have fix on my local and no need to update buildscript on
Step to Fix this issue:
|
@whitedogg13 Same issue on Expo as well. How to figure it out? |
the same as #473, close |
i made compileSdkVersion = 31 but this time firebase crashlytics fired errors while building. so i solved it like this:
use your version of the package. clean gradle cache and build the project. |
Android 12/API 31 was giving me trouble, downgrading react-native-nfc-manager to v3.14.1 resolved the issue for me |
cannot find symbol 'FLAG_MUTABLE' with the version v3.11.1
The text was updated successfully, but these errors were encountered: