弱龄寄事外,委怀在琴书。这篇文章主要讲述内网下Android studio failed解决办法相关的知识,希望能为你提供帮助。
apply plugin: ‘com.android.application‘buildscript { repositories { maven{ url‘http://maven.aliyun.com/nexus/content/groups/public/‘ } maven{ url‘http://maven.aliyun.com/nexus/content/repositories/jcenter‘} google() }dependencies { classpath ‘com.android.tools.build:gradle:4.0.0‘ } }repositories { //jcenter() //把这里注释掉,换成阿里的源 maven{ url‘http://maven.aliyun.com/nexus/content/groups/public/‘ } maven{ url‘http://maven.aliyun.com/nexus/content/repositories/jcenter‘} }
【内网下Android studio failed解决办法】
buildscript{ repositories{ //jcenter() //把这里注释掉,换成阿里的源 maven{ url‘http://maven.aliyun.com/nexus/content/groups/public/‘ } maven{ url‘http://maven.aliyun.com/nexus/content/repositories/jcenter‘} google() } } allprojects{ repositories{ //jcenter() //把这里注释掉,换成阿里的源 maven{ url‘http://maven.aliyun.com/nexus/content/groups/public/‘ } maven{ url‘http://maven.aliyun.com/nexus/content/repositories/jcenter‘} } }
推荐阅读
- java配合uniapp的微信支付商户转账等解决方案
- Android App 侧边栏菜单的简单实现
- APP懒人原则
- Spring Boot 报错 o.s.s.concurrent.ThreadPoolTaskExecutor: Shutting down ExecutorService 'applica
- appium移动自动化测试框架搭建详细过程
- Springboot:解决Failed to load ApplicationContext问题
- 修改Android Studio默认配置文件路径
- 下安卓中封装的双击和单机事件
- uni-app中长按删除