日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

android与gradle版本,android – Gradle错误:支持的最低Gradle版本...

發布時間:2025/3/21 编程问答 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 android与gradle版本,android – Gradle错误:支持的最低Gradle版本... 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

當我今天更新Android Studio時,它會寫:最低支持的Gradle版本是3.3.當前版本是3.2我該如何解決這個問題?

這是我的build.gradle

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

buildscript {

repositories {

jcenter()

}

dependencies {

classpath 'com.android.tools.build:gradle:2.3.0'

// NOTE: Do not place your application dependencies here; they belong

// in the individual module build.gradle files

}

}

allprojects {

repositories {

jcenter()

}

}

task clean(type: Delete) {

delete rootProject.buildDir

}

和第二個build.gradle:

apply plugin: 'com.android.application'

android {

compileSdkVersion 25

buildToolsVersion "25.0.0"

defaultConfig {

applicationId "com.tosi.ex"

minSdkVersion 14

targetSdkVersion 25

versionCode 1

versionName "1.0"

multiDexEnabled true

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {

release {

minifyEnabled false

proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

}

}

sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } }

}

repositories {

mavenCentral()

}

dependencies {

compile fileTree(dir: 'libs', include: ['*.jar'])

androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {

exclude group: 'com.android.support', module: 'support-annotations'

})

compile 'com.android.support:appcompat-v7:25.2.1'

compile 'com.android.support:design:25.2.1'

compile 'com.github.ksoichiro:android-observablescrollview:1.5.0'

compile 'com.android.support:support-v4:25.2.1'

compile 'com.android.support:mediarouter-v7:25.2.1'

compile 'com.google.android.gms:play-services:10.2.1'

compile 'com.android.support:cardview-v7:25.2.1'

compile 'com.squareup.picasso:picasso:2.5.2'

compile 'uk.co.chrisjenx:calligraphy:2.2.0'

testCompile 'junit:junit:4.12'

}

gradle-wrapper.properties:

#Tue Mar 28 17:26:02 CEST 2017

distributionBase=GRADLE_USER_HOME

distributionPath=wrapper/dists

zipStoreBase=GRADLE_USER_HOME

zipStorePath=wrapper/dists

distributionUrl=https\://services.gradle.org/distributions/gradle-3.2-all.zip

當我將屬性distributionUrl更改為3.3-all.zip時,它仍然處于刷新狀態

我不知道該怎么辦這個問題.請幫我

非常感謝你

總結

以上是生活随笔為你收集整理的android与gradle版本,android – Gradle错误:支持的最低Gradle版本...的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。