[英]Gradle project sync failed. basic functionality (e.g. editing debugging) will not work properly
My Gradle project sync failed. 我的Gradle项目同步失败。 Basic functionality (eg editing debugging) will not work properly.
基本功能(例如,编辑调试)将无法正常工作。
I installed Android Studio and updated everything (3.2.1) , but whenever I create new project I get these 3 errors : 我安装了Android Studio并更新了所有内容(3.2.1),但是每当创建新项目时,我都会遇到以下3个错误:
Failed to resolve: com.android.support:appcompat-v7:28.0.0
无法解决:com.android.support:appcompat-v7:28.0.0
Failed to resolve: com.android.support.constraint:constraint-layout:1.1.3
无法解决:com.android.support.constraint:constraint-layout:1.1.3
Failed to resolve: com.android.support.test:runner:1.0.2
无法解决:com.android.support.test:runner:1.0.2
What's wrong? 怎么了?
Thanks in advance 提前致谢
You might need a Proxy to achieve a successful Gradle sync! 您可能需要代理才能成功实现Gradle同步! Because repositories are restricted to access from IRAN.
因为存储库仅限于从IRAN的访问。 Also you can use Shecan.ir and set your dns to the ip from this site.
您也可以使用Shecan.ir并将您的dns设置为该站点的ip。
If it was't about your proxy access! 如果不是您的代理访问权限! please share complete gradle & error here
请在此处分享完整的gradle和错误
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.