我们在使用Android Studio的时候新建项目没什么问题的,但是当我们下载一份Github上的项目导入进去的时候却没法正常使用,其原因主要是gradle配置问题.而由于gradle这个玩意儿版本更新太快,android Studio每个版本也不一样.比如2.3版本使用gradle的版本是3.3,而2.4版本使用的是3.4.1.那么这个时候会出现什么问题呢?当你使用Android Studio 2.4版本导入一个2.3版本的项目的话就会出现需要修改gradle的版本.有时候Android S…
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…
今天在网上下载了EasyPusher-master文件,日期是20160527版本的,但是在我的Android Studio上运行时报错: Error:(1, 1) A problem occurred evaluating project ':app'. > Failed to apply plugin [id 'com.android.application'] > Gradle version 2.10 is required. Current version is 2.8. If us…
Warning:Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try editing the distributionUrl in F:\work\qxueyou\gradle\wrapper\gradle-wrapper.properties to gradle-2.10-all.zip              本人在android程序开发过程中遇到了这个错误,如下下…
Warning:Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try editing the distributionUrl in F:\work\qxueyou\gradle\wrapper\gradle-wrapper.properties to gradle-2.10-all.zip              本人在android程序开发过程中遇到了这个错误,如下下…
起因:最近要在googleplay上架新游戏,而谷歌要求新上架的应用要支持64位,鉴于老版本的unity不支持打包64位apk,所以决定升级unity版本到2018.4.1, 但打包过程中出现了几个问题  -> 问题1 Gradle version 配置错误,报错信息如下: CommandInvokationFailure: Gradle build failed. D:\Program Files\unity2018.4.17\Unity\Editor\Data\PlaybackEngines…
gradle版本错误: 1. 修改gradle\wrapper\gradle-wrapper.properties文件: distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 2. 修改整个工作空间(workspace)下的build.gradle文件: // classpath 'com.android.tools.build:gradle:1.2.3' classpath 'com.a…
问题一: Cannot set the value of read-only property 'outputFile' for ApkVariantOutputImpl_Decorated{apkData=Main{type=MAIN, fullName=commonDebug, filters=[]}} of type com.android.build.gradle.internal.api.ApkVariantOutputImpl. Open File 1 解决方案一: https://…
Android Studio 一直Failed to import Gradle project: Connection timed out: connect Android Studio 2.0 里已经找不到 Gradle 的http proxy 设置,需要在local.properties 文件中加入下面两行 systemProp.http.proxyHost=127.0.0.1 systemProp.http.proxyPort=8787 地址和端口需要改成自己环境的值.…
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…