Solution to error when Android studio references external dependencies

When Android studio references external dependencies, it is found that external dependencies cannot be referenced all the time. At first, I thought it was a wall problem. I tried to modify the gradle configuration, but the problem was not solved.

Finally, it was found that the gradle was set to offline working mode when installing the optimized configuration of Android Sudio

resolvent:

Just open file - > Settings - > build, execution, deployment - > gradle - > uncheck offline work

summary

The above is the Android studio error unable to resolve dependency for '' '' introduced by Xiaobian: app@release /Compileclasspath '' '': we can't quote any solutions to external dependencies. I hope it will help you. If you have any questions, please leave me a message and Xiaobian will reply to you in time. Thank you very much for your support for the programming tips website!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>