You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an App migrated from Xamarin that works fine in debug builds on Android levels including 14. Release builds work on levels 13 and below but fail when run on Android 14. A workaround is to build targeting Android 13, which generates warnings but produces a file which will run on Android 14.
I don't know much about Android programming but looking at logcat for a failed run I see a stack dump for: java.lang.SecurityException: com.autoplus.divisibill: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
Since it's not visible in the run that works this seems like some sort of tighter security requirement might be the problem. I've attached logs for a working and failing run.
Yes, build the project targeting Android 13 - it will then run on Android 14. You'll have to change the target in the android manifest (see issue #19024)
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
Description
I have an App migrated from Xamarin that works fine in debug builds on Android levels including 14. Release builds work on levels 13 and below but fail when run on Android 14. A workaround is to build targeting Android 13, which generates warnings but produces a file which will run on Android 14.
I don't know much about Android programming but looking at logcat for a failed run I see a stack dump for:
java.lang.SecurityException: com.autoplus.divisibill: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
Since it's not visible in the run that works this seems like some sort of tighter security requirement might be the problem. I've attached logs for a working and failing run.
failed.txt
worked.txt
I've no idea what make my app require this permission but the NuGet packages it uses are:
Steps to Reproduce
I cannot reproduce this in a simple test case
Link to public reproduction project repository
No response
Version with bug
Unknown/Other
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 14
Did you find any workaround?
Yes, build the project targeting Android 13 - it will then run on Android 14. You'll have to change the target in the android manifest (see issue #19024)
Relevant log output
No response
The text was updated successfully, but these errors were encountered: