Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity: Resolving Android Dependencies freeze. Cannot import any plug-in

I have a huge issue. For some reason, I am unable to import almost any plug-in into my Unity project. Whenever the import finishes, I get the Resolving Android Dependencies screen, which never actually resolves the issue. I recently got this issue when I imported the Unity Mediation Plug-in and now I reinstalled my Android Studio, Java and Unity, which resulted in the same error but now even for plug-ins, which worked before. I have no idea what to do. After the reinstall, I had to downgrade my SDK tools to 25.0.5 or I couldn't build the project due to JAVA_HOME error in the Unity Editor. Everything else is up-to-date.

Any help is appreciated. enter image description here

like image 939
TheNewbie Avatar asked Feb 25 '18 17:02

TheNewbie


People also ask

How to resolve Android Dependencies in Unity?

Following are the steps to resolve dependencies manually: In the Open Unity project, navigate to Assets dropdown menu and choose Play services resolver > Android Resolve. Select the Resolve or Force Resolve.


1 Answers

Well...the problem was that my project folder had spaces in it. If it was Test App, it should have been TestApp. When I created my project in Unity (Its my first project) I neglected the name of the Project is used as the folder name too. I understood how the whole engine works inside out in hopeless attempts to fix it, but never did I suspect it was so simple.

like image 106
TheNewbie Avatar answered Oct 12 '22 17:10

TheNewbie