Skip to content

Android Build failed after intalling Firebase Cloud Messaging Unity Sdk. #273

@rumaniel

Description

@rumaniel

Hi, teams.

I'm implementing the Adjust Unity SDK but faced Null Reference Exception at 157 line on AdjustEditorPreprocessors.cs during the Android Build stage.

I think it's because of at 118 line on AdjustEditorPreprocessors.cs that try to select "/manifest/application/activity[@android:name='com.unity3d.player.UnityPlayerActivity']" node.

Before implementing the Adjust Unity Sdk, I already implement Firebase Cloud Messaging Unity Sdk.

Latest Firebase Cloud Messaging Unity Sdk replace com.unity3d.player.UnityPlayerActivity to com.google.firebase.MessagingUnityPlayerActivity.

Temporarily, I changed that line and can keep implementing Adjust Sdk.

I think there will be an option to customize the default activity name via the inspector.

My environments:

  • Adjust Sdk 4.33.2
  • Unity 2021.3.21f1
  • Windows 10

Best Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions