googlesamples/unity-jar-resolver

[Bug] Dependencies are not download to project

gabriel01913 opened this issue · 3 comments

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 6000.0.5f1 / 2022.3.24f1
  • External Dependency Manager version: 1.2.180
  • Source you installed EDM4U: .unitypackage and Unity Package Manager
  • Features in External Dependency Manager in use: Android Resolver
  • Plugins SDK in use:
  • Platform you are using the Unity editor on: Windows

[REQUIRED] Please describe the issue here:

The Resolver dont download the libs in a *Dependencies.xml file.
Steps:

  • Create new project.
  • Switch the plataform to Android.
  • Open project settings and change the setting "Allow downloads over HTTP" to "Always allowed"
  • Create a folder "Plugins" in the "Asset" root folder.
  • Create a folder "Android" in the "Plugins" fold previous created.
  • Installs the resolver via Package manager or .unitypackages.
  • Enable auto-resolution.
  • Restart editor.
  • Create a folder "Editor" in the "Asset" root folder.
  • Copy the "SampleDependencies.xml" from repo and paste inside the "Editor" folder.
  • Open menu Assets/External Dependecy Manager/Android Resolver/Force Resolve.
    The expected is that the resolver download the dependencias, but only a pop up appears with "Resolution succeeded"

Please answer the following, if applicable:

What's the issue repro rate?
100%

What happened? How can we make the problem occur?
Follow the steps.

This issue does not seem to follow the issue template. Make sure you provide all the required information.

Update:

  • looking through the Android Solver settings and disabling "Patch mainTemplate.gradle", the resolver download the lib.

For future users, if having the same issue, try to enable this settings in the Android Solver:

  • "Patch mainTemplate.gradle"
  • "When building Android app through Unity"