gpt4 book ai didi

android - 无法解析 : com. android.support :appcompat-v7:24. 4.0

转载 作者:太空狗 更新时间:2023-10-29 16:30:23 26 4
gpt4 key购买 nike

apply plugin: 'com.android.application'

android {
compileSdkVersion 24
buildToolsVersion "24.0.1"

defaultConfig {
applicationId "abdulsamadgroup.com.asgroup"
minSdkVersion 11
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.2.0'
compile 'com.android.support:design:24.2.0'
compile 'com.squareup.okhttp3:okhttp:3.4.1'
compile 'com.google.code.gson:gson:2.2.3'

}

here is我正在使用的已安装 SDK 的详细信息。

帮我解决这个问题。我从 2 天开始就一直在搜索它。

最佳答案

更新您的支持存储库

第一种方式

设置

    compileSdkVersion 24
buildToolsVersion "24.0.2"

 compile 'com.android.support:appcompat-v7:24.2.0'
compile 'com.android.support:design:24.2.0'

然后 Clean-Rebuild-Gradle

第二种方式

你可以使用最新版本,

compileSdkVersion 25
buildToolsVersion "25.0.1"

compile 'com.android.support:appcompat-v7:25.0.1'
compile 'com.android.support:design:25.0.1'

关于android - 无法解析 : com. android.support :appcompat-v7:24. 4.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40803412/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com