WhatsApp 更改了套餐名称?包名突然出错
我在我的应用程序中与 wpp 集成,这工作正常大约一年,但我发现它不再工作了。当应用程序尝试启动意图时,会发生 NameNotFoundException
Caused by: android.content.pm.PackageManager$NameNotFoundException: com.whatsapp
知道发生了什么吗?
编辑:我认为这是 Android 11 的问题,这有意义吗?
I have an integration with wpp in my app, this worked fine for around a year, but I detect that it doesn't work anymore. When the app tries to launch the intent, a NameNotFoundException happens
Caused by: android.content.pm.PackageManager$NameNotFoundException: com.whatsapp
Any idea what's going on?
Edit: I think it's an Android 11 issue, does that make sense?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Android 11 的包可见性有了新的变化。您需要在应用程序的标签下添加一个新部分:请浏览官方文档链接
尝试这在manifest.xml 中
或仅此。
There are new changes in android 11 of package visibility. You need to add a new section under you app's tag: Please go through official documentation Link
Try this in manifest.xml
OR this only.