docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Upgrade from Google's EDM4U to Unity's EDM

    Understand the changes that affect your project when you move from Google External Dependency Manager for Unity (EDM4U) to the Unity External Dependency Manager (EDM).

    Android Resolver mode

    EDM uses Gradle template mode exclusively for Android dependency resolution. The AAR copy resolver available in EDM4U has been removed, along with its related settings: Use Gradle Daemon, Explode AARs, Install Android Packages, and Package Directory.

    Gradle template mode requires Custom Main Gradle Template to be enabled in the Android Player settings. If not already enabled, the Android resolver enables it automatically.

    Jetifier

    EDM4U used two settings to enable Jetifier: Use Jetifier and Patch gradleTemplate.properties. EDM combines them into the Use Jetifier setting.

    If your project relies on Jetifier, enable Use Jetifier in Edit > Project Settings > External Dependency Manager > Android Resolver. For more information, refer to Android Resolver settings reference.

    Note

    Unity 2022.3.38f1, 6000.0.11f1, and later use a version of the Android Gradle Plugin (AGP) that enables AndroidX support by default. If your project builds successfully when Use Jetifier is disabled, you don't need to enable it.

    Patch AndroidManifest.xml

    The Patch AndroidManifest.xml setting is deprecated and will be removed in a future version of EDM. It addressed a Unity issue where AGP didn't substitute ${applicationId} placeholders in a custom AndroidManifest.xml. Unity 2022.3.38f1 and later fix this issue, so EDM no longer needs to write the bundle ID into your manifest.

    On Unity 2022.3.38f1 and later, EDM handles the setting as follows:

    • For new projects without Assets/Plugins/Android/AndroidManifest.xml, the setting is disabled by default.
    • Otherwise, EDM keeps the setting's current value. While the setting is enabled, EDM displays a warning in the Android Resolver settings and logs a warning in the Console once per Editor session.

    Disable Patch AndroidManifest.xml and restore `$

    When the setting is enabled, EDM permanently replaces ${applicationId} with the bundle ID in your source manifest. If you disable the setting, those hardcoded values stay in the manifest and EDM no longer updates them when the bundle ID changes.

    If your project uses a Unity 2022.3 version earlier than 2022.3.38f1, upgrade to Unity 2022.3.38f1 or later before you disable the setting.

    Hardcoded bundle ID values keep working after you disable the setting. Replace them with ${applicationId} if you plan to change the project's bundle ID, so they follow it automatically.

    To disable Patch AndroidManifest.xml and restore ${applicationId}:

    1. Go to Edit > Project Settings > External Dependency Manager > Android Resolver and disable Patch AndroidManifest.xml.
    2. Open Assets/Plugins/Android/AndroidManifest.xml.
    3. Replace hardcoded bundle ID values with ${applicationId}. For example, change android:authorities="com.example.mygame.fileprovider" to android:authorities="${applicationId}.fileprovider".
    4. Remove the package attribute from the <manifest> element, because it's no longer required.
    5. Build your project and verify that the merged manifest contains the expected bundle ID.
    Note

    You don't need to replace hardcoded bundle ID values if the Package Name in the Unity project won't change.

    Additional resources

    • Android Resolver settings reference
    • Troubleshooting common issues with EDM
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)