0

anyone face this issue in .NET MAUI.

“Android 14 (API Level 34) Fatal Exception: java.lang.SecurityException One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED.”

When I target android 14 then got it this exception in .NET MAUI. Even our app not used any broadcast service class.

Any one suggest solution.

“Android 14 (API Level 34) Fatal Exception: java.lang.SecurityException One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED.”

1 Answer 1

0

Note that if you're using net8.0, the default Target Android Framework as you set under Application > Android Targets is Android 14.0(API Level 34). So you don't need to set it. This setting is used to set the compiling API for the project.

To fix your issue, you can use the <uses-sdk android:minSdkVersion="32" android:targetSdkVersion="34" in AndroidManifest.xml to meet the Google Play requirement.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you for sharing, do not forget to accept your own answer. By the way, here is a simple about accepting answers

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.