SecurityException: Targeting U+ ... Implicit intents with a mutable PendingIntent are blocked
Android 14 blocks implicit intents that target internal or mutable PendingIntent cases.
Implicit intents with a mutable PendingIntent are blockedTargeting U+ implicit intentsSecurityException implicit intent Android 14 Meaning
Use explicit intents (setPackage/setClass) for your own components and FLAG_IMMUTABLE for PendingIntents unless you need mutability with an explicit component.
Common causes
- PendingIntent with implicit Intent and FLAG_MUTABLE
- Implicit intent to non-exported component
- targetSdk 34 behavior
⚡ Quick fix
- Make the Intent explicit
- Use FLAG_IMMUTABLE
- Export only components that need to be public
Detailed fix by platform
Kotlin
PendingIntent.getActivity(ctx, 0, Intent(ctx, MainActivity::class.java), PendingIntent.FLAG_IMMUTABLE)
How to diagnose
- Intent — explicit?
- Flag — IMMUTABLE?
- Component — exported?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- "x" can't be opened because it is from an unidentified developer macOS: “app” can’t be opened because it is from an unidentified developer
- 0x800704EC 0x800704EC: This program is blocked by group policy (Windows Defender)
- Android 12 splash screen shows twice / wrong icon (behavior) Two splash screens appear on Android 12+
Most viewed in Android
- Could not resolve Gradle: Could not resolve all files for configuration / Could not resolve dependency
- INSTALL_FAILED_USER_RESTRICTED INSTALL_FAILED_USER_RESTRICTED: Install canceled by user (Xiaomi/MIUI, Oppo, Vivo)
- INSTALL_PARSE_FAILED_NO_CERTIFICATES INSTALL_PARSE_FAILED_NO_CERTIFICATES / App not installed as package appears to be invalid
Other ways to find it
Where this error sits
Origin: On your device. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 25 Nov 2026