【问题标题】:Error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED in android 12错误:Android 12 中的 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
【发布时间】:2021-12-23 15:56:12
【问题描述】:

我尝试在 android 12 上安装我的应用程序,然后显示此错误:

Failed parse during installPackageLI: /data/app/vmdl1552365075.tmp/base.apk (at Binary XML file line #227): com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver: Targeting S+ (version 31 and above) requires that an explicitvalue for android:exported be defined when intent filters are present'

那么,如何解决这个问题?

【问题讨论】:

    标签: javascript android react-native react-native-push-notification


    【解决方案1】:

    您需要在清单中为您的接收者添加android:exported。你可以阅读它documentation

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-08-28
      • 1970-01-01
      • 2021-11-19
      • 1970-01-01
      • 1970-01-01
      • 2022-08-15
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多