One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts

Muthu Madhavan 0 Reputation points
2024-10-10T14:52:45.45+00:00

I have a Xamarin Android application that integrates the uGrokit RFID library. Recently, I updated the targetSdkVersion to 34 in the Android Manifest.
After deploying the build, the app works without crashes on devices running Android 13. However, when I try to run it on devices with Android 14, it crashes with the error:

"One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts."

i have tried below suggested solution also but it wont work & I didnt use any broadcast receiver in my code :

<receiver android:name=".YourReceiver" android:exported="false"> <intent-filter> <action android:name="your.action.name" /> </intent-filter> </receiver>

I have tried various solutions, but the issue persists. Please help me resolve this problem.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,362 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.