Skip to content

FAQ troubleshooting updating external dependencies

Sergio edited this page Nov 25, 2022 · 1 revision

It's common to have Android SDK and iOS SDK releases that contains fixes of bugs that you might be experiencing. Sometimes, it's not necessary to release a Unity SDK version for these changes, as they are hotfixes that are compatible with the latest Unity SDK version. So how can I use the latest Android/iOS SDKs with my Unity SDK version?

The External Dependency Manager

We use something called External Dependency Manager (EDM) to resolve and download all the necessary dependencies of the project, including the Android/iOS SDKs. The dependencies are specified in the Dependencies.xml file. The EDM will try to download the latest version that complies with the rules specified there. For example, you can use the Unity SDK 14.1.0 and the EDM will download the Android SDK 14.1.1.

How can I update the dependencies in my current project?

Let's say that you currently have the Unity SDK 14.1.0 with the Android SDK 14.1.0 in your project, but you're interested in updating the Android SDK to 14.1.1, how can you do that?

You can execute the External Dependency Manager again by clicking on Assets -> External Dependency Manager -> Android Resolver -> Force Resolve. This will delete the Android dependencies in the project, and it will download the latest Android SDK available that's compatible with your Unity SDK version. This way, you can work with the latest releases that contains bug fixes.