Skip to content
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

Android14上启动报错: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified... #1345

Open
FBono opened this issue Aug 19, 2024 · 1 comment

Comments

@FBono
Copy link

FBono commented Aug 19, 2024

应用升级target sdk到34,在android14设备上启动报错:具体堆栈日志如下:
image

@FBono FBono changed the title Android14上启动报错 Android14上启动报错: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified... Aug 19, 2024
@FBono
Copy link
Author

FBono commented Aug 19, 2024

看google升级适配 需要把RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED作为registerReceiver方法的第三个参数传入,这里是shadow框架内部的代码,是否可以适配呢,或者应用可以如何规避不

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant