-
Notifications
You must be signed in to change notification settings - Fork 46
[Bug] Force resolve can't resolve dependencies, because can't find 10.5.0 directory #642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @IgorNebosenko, Thanks for reporting this issue. I haven't been successful in replicating your issue so far. I have some questions about your implementation:
|
I believe this is an issue in the Unity Editor's implementation to create directories. See the Issue reported here as a regression. This was reported fixed in Unity version 2022.2.4f1, though some are still reporting the problem. Is it possible for you to upgrade to that version and give a try? |
|
We posted in quick succession. I just wanted to be sure that you saw my post above. Thanks! |
Yes, I see about 2022.2.4f1 version, so now I install it |
2022.2.4f1 not solve issue. Now it correctly force resolve, but project - don't builds. Gradle build failure. |
Could you post information about the build failure? |
I can make build by disable Main Gradle Template & Gradle properties template. So now - need check all other part of project. If all will be good - I'm close this issue. |
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
When I make : "Force resolve" from Android dependency manager v. 1.2.175 - I have error of resolve, and have this log at console:
Unable to copy Assets\Firebase\m2repository\com\google\firebase\firebase-app-unity\10.5.0\firebase-app-unity-10.5.0.srcaar to Assets\GeneratedLocalRepo\Firebase\m2repository\com\google\firebase\firebase-app-unity\10.5.0\firebase-app-unity-10.5.0.aar.
This is because at Assets\GeneratedLocalRepo\Firebase\m2repository\com\google\firebase\firebase-app-unity generates folder with name 10, 10 1, 10 2 etc, but not a 10.5.0. If I create manually this folder - Force resolve completes, and build works correctly, but when I make new Force resolve - directory 10.5.0 - destroys and replaces with variant of simple 10, so I need to every Force resolve - create this directory.
This bug also with directory firebase-analytics-unity, at crashlytics - I dob't need to create 10.5.0 directory for every Force Resolve, but this directory... Empty. So I don't have info about crashes
I see this issue, but I have this bug after every Force resolve.
I think, this is simple to solve bug, because create at Generated Local Repo - directories have name 10, but for correct work - required 10.5.0
Steps to reproduce:
Reproduce:
I have this issue at 100 % of attempts to force resolve dependencies.
The text was updated successfully, but these errors were encountered: