Gradle sync failed: Gradle version 2.2 is required. Current version is 2.10. If using the gradle wrapper, try editing the distributionUrl in xxxx/gradle/wrapper/gradle-wrapper.properties to gradle-2.2-all.zip (1) 修改gradle-wrapper.properties distribut…
从github上下载了一个开源项目到Android Studio 出现以下问题: 下午2:56:05 Gradle sync started下午3:00:11 Gradle sync failed: failed to find Build Tools revision 21.1.2 Consult IDE log for more details (Help | Show Log) 解决办法: 查找SDK安装目录\build-tools 下查看自己的BuildTools 版本,然后修改项目为该…
前言 今天安装Android studio 2.3.1时发生了一个错误,安装完成后创建第一个Hello World项目是报错.经过这个百度后,结果没有一个靠谱的.将拆解经过记录一下. 环境: 操作系统:Windows 7 SP1 安卓编译环境:Android studio 2.3.1 JDK:jdk1.8.0_102 错误: Gradle sync failed: Cause: error in opening zip file  Consult IDE log for more details…
今天开发过程中出现如下异常 Gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.Consult IDE log for more details (Help | Show Log) 允许Android Studio可以通过防火墙通信 再同步一次就行…
0.Android Studio 权威教程 (url:http://blog.csdn.net/column/details/zsl-androidstudio.html) 1. 项目老是报错: Gradle sync failed: Argument for @NotNull parameter 'key' of com/android/tools/idea/gradle/project/model/ide/android/ModelCache.computeIfAbsent must not…
---恢复内容开始--- 在克隆GIT项目后,Android Studio 报错: Gradle sync failed: Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide c…
android studio 克隆项目后,重新导入后显示Gradle sync failed: Another 'refresh project' task is currently running for the project......同步失败错误. 解决方案:主要是红色部分操作,让gradle自己重新搭建. 在任务栏打开File,选择Invalidate caches / Restart选项,执行.关闭Android Studio 关闭Android Studio 在用户主目录中重命名/…
: Gradle sync started : Gradle sync failed: Read timed out Consult IDE log m s ms) 原因是Gradle下载超时 一.下载 https://gradle.org/releases/ 二.安装 $ mkdir /opt/gradle $ unzip -d /opt/gradle gradle--bin.zip $ ls /opt/gradle/gradle- LICENSE NOTICE bin getting-sta…
错误 Gradle sync failed: Cannot set the value of read-only property 'outputFile' 原因 gradle打包,自定义apk名称代码报错 解决 看不懂代码就把原来的注释了,自己再写一个 例如: // rename the apk with the version name /* applicationVariants.all { variant -> variant.outputs.each { output -> outp…
环境 Android studio 3.0 导入开源中国: ... dependencies { //noinspection GradleDependency classpath 'com.android.tools.build:gradle:2.2.3' classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.3.0' } ext { compileSdkVersion = 25 buildToolsVersion = "25…