Android Studio3.2坑

Android studio坑

安装了新的Android studio3.2出现的问题

安装了新的Android studio3.2 后出现了gradle无法下载的问题
1.Unknown host 'd29vzk4ow07wi7.cloudfront.net'. You may need to adjust the proxy settings in Gradle Learn about configuring HTTP proxies in Gradle
2.解决了1之后出现了新的问题,就是不能点击run按钮,为灰色
3.无法建立虚拟
4.intelHaxm的问题

1的解决,给build.gradle添加一个国内镜像

| | |
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

repositories {
google()
maven{ url’http://maven.aliyun.com/nexus/content/groups/public/’}
jcenter()
}
dependencies {
classpath ‘com.android.tools.build:gradle:3.2.1’
}
}
allprojects {
repositories {
google()
maven{ url’http://maven.aliyun.com/nexus/content/groups/public/’}
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
| | |

2的解决

点击在这里插入图片描述

3的解决

点击Intelhaxm-android安装之后就可以使用虚拟机了

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值