googlesamples / unity-jar-resolver

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

Warning that stops Force Resolving on 100 % in Unity #497

Closed DNK-Creator closed 2 years ago

DNK-Creator commented 2 years ago

Hey everyone, I have a warning when I try to force resolve my game, it stops on 100% and then nothing is happening.

Some conflicting dependencies were found. The following dependency versions were modified: com.google.games:gpgs-plugin-support:0.10.13 --> com.google.games:gpgs-plugin-support:+

UnityEngine.Debug:LogWarning (object) Google.Logger:Log (string,Google.LogLevel) (at Z:/tmp/tmp.wzz20lkBKd/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/Logger.cs:129) GooglePlayServices.PlayServicesResolver:Log (string,Google.LogLevel) (at Z:/tmp/tmp.cvthQg1D2s/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/PlayServicesResolver.cs:1055) GooglePlayServices.GradleResolver/cAnonStorey1:<>m2 (GooglePlayServices.CommandLine/Result) (at Z:/tmp/tmp.cvthQg1D2s/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/GradleResolver.cs:473) GooglePlayServices.GradleResolver/cAnonStorey1/cAnonStorey3:<>m0 () (at Z:/tmp/tmp.cvthQg1D2s/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/GradleResolver.cs:572) Google.RunOnMainThread:ExecuteNext () (at Z:/tmp/tmp.wzz20lkBKd/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:486) Google.RunOnMainThread:m1 () (at Z:/tmp/tmp.wzz20lkBKd/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:536) Google.RunOnMainThread:RunAction (System.Action) (at Z:/tmp/tmp.wzz20lkBKd/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:343) Google.RunOnMainThread:ExecuteAllUnnested (bool) (at Z:/tmp/tmp.wzz20lkBKd/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:530) Google.RunOnMainThread:ExecuteAll () (at Z:/tmp/tmp.wzz20lkBKd/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:512) UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

google-oss-bot commented 2 years ago

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

paulinon commented 2 years ago

Hi @DNK-Creator,

Thanks for reporting this issue. In order to identify what's causing this, could you provide a minimal, reproducible example of your project along with the complete steps to replicate this behavior?

DNK-Creator commented 2 years ago

Hi @DNK-Creator,

Thanks for reporting this issue. In order to identify what's causing this, could you provide a minimal, reproducible example of your project along with the complete steps to replicate this behavior?

Hi! Thank you for your reply. I will attach screenshots of what I think can be the problem, I imagine there is something wrong with my gradle file or android resolver settings. Enabling or disabling use project settings or verbose logging changes nothing. I also tried it without default gradle that Unity sets, but it just doesnt build. Also maybe android manifest file could tell something?

And I recently tried to downgrade my plugin GPS from 10.14 to 10.13, maybe I forgot to delete something can be the problem? Like maybe this 2 plugins conflicting with each other.

Unity_ZjJHN0sgtl

DNK-Creator commented 2 years ago

Its also combines with my google play services not working error. https://github.com/playgameservices/play-games-plugin-for-unity/issues/3111

DNK-Creator commented 2 years ago

Hi @DNK-Creator,

Thanks for reporting this issue. In order to identify what's causing this, could you provide a minimal, reproducible example of your project along with the complete steps to replicate this behavior?

Actually every code line is passing me to my android manifest, maybe something wrong in there? I will attach screenshot of it and the log as an image. image

image

DNK-Creator commented 2 years ago

I fixed it by deleting all files connected to google play services Then importing plugin from github once again and then force resolve works fine.