0

我正在尝试生成 Android 测试版本以查看 Facebook 最新(7.4.0)插件是否有效。

我也有 OneSignal 通知,我在控制台上收到此错误时


    stderr[
    Error: [Temp\StagingArea\AndroidManifest-main.xml:16,       .\Temp\StagingArea\android-    libraries\OneSignalNotificationRes\AndroidManifest.xml:6] Trying to merge incompatible /manifest/application/receiver[@name=com.onesignal.GcmBroadcastReceiver] element:
  <receiver
      @android:name="com.onesignal.GcmBroadcastReceiver"
      <intent-filter>
              @android:name="com.google.android.c2dm.intent.RECEIVE">
          <category
--            @android:name="whatevermyapp">
  <receiver
      @android:name="com.onesignal.GcmBroadcastReceiver"
      <intent-filter>
              @android:name="com.google.android.c2dm.intent.RECEIVE">
          <category
++            @android:name="${manifestApplicationId}">
]
stdout[

任何想法?

谢谢!

4

1 回答 1

0

确保根据Unity - 3. Android 设置说明将所有 3 个实例替换为${manifestApplicationId}您的 Android 包名称。Plugins/Android/OneSignalConfig/AndroidManifest.xml

于 2016-04-13T20:15:26.103 回答