googlesamples / unity-jar-resolver

Unity plugin which resolves Android & iOS dependencies and performs version management
Other
1.21k stars 337 forks source link

Resolver gets stuck at 24% #631

Closed Shady9595 closed 9 months ago

Shady9595 commented 10 months ago

There are no errors popping up but the resolver gets stuck at 24% and does not proceed further. Waited for a whole hour but still it stayed stuck there.

google-oss-bot commented 10 months ago

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

paulinon commented 10 months ago

Hi @Shady9595,

Does this behavior occur when you click Resolve or Force Resolve? If so, could you try if enabling both Custom Main Gradle Template and Custom Gradle Properties Template from your Player Settings > Publishing Settings makes any difference? This can make downloading Android libraries faster.

Shady9595 commented 10 months ago

This behavior occurs in both cases either I click Resolve or Force Resolve. I also have tried enabling both Custom Main Gradle Template and Custom Gradle Properties Template, after enabling these if I run the resolver it says Resolution Succeeded the moment I click on Resolve or Force Resolve but Libraries aren't created inside Plugins > Android directory.

paulinon commented 9 months ago

Hi @Shady9595,

Apologies for the radio silence here. With the Custom Main Gradle Template enabled, the libraries can be found in the generated mainTemplate.gradle file. This solution helps prevent duplicate class errors or slow resolution with the libraries in the Plugins > Android directory.

That said, I'll be closing this for now. Let me know if this solution doesn't fit with your use case so that this ticket could be reopened.